Tags - Tags 2:24 PM Basic HTML and CSS HTML and CSS are the...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
5/25/10 2:24 PM Tags Page 1 of 6 http://www-rcf.usc.edu/~trinagre/itp104/lectures/Tags.html Basic HTML and CSS HTML and CSS are the languages we use to create web pages. Web servers store and serve web pages. Browsers retrieve pages and render their content based on the HTML and CSS. HTML is an abbreviation for HyperText Markup Language and is used to structure your web page. CSS is an abbreviation for Cascading Style Sheets and is used to control the presentation of your HTML. Using HTML, we mark up content with tags to provide structure. We call matching tags, and their enclosed content, elements . An element is composed of three parts: an opening tag, content and a closing tag. There are a few elements, like <img>, that are an exception to this rule. Opening tags can have attributes. Attributes give you a way to provide additional information about an element. Closing tags have a "/" after the left angle bracket, in front of the tag name to distinguish them as closing tags. Your pages should always have an <html> element along with a <head> element and a <body> element. Information about the web page goes into the <head> element. What you put into the <body> element is what you see in the browser. Most whitespace (tabs, returns, spaces) are ignored by the browser, but you can use these to make your HTML more readable (to you). CSS can be added to an HTML web page by putting the CSS rules inside the <style> element. This element should always be inside the <head> element. You specify the style characteristics of the elements in your HTML
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 05/25/2010.

Page1 / 6

Tags - Tags 2:24 PM Basic HTML and CSS HTML and CSS are the...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online