NOTES html 1-29

NOTES html 1-29 - HTML Element Syntax An HTML element...

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

View Full Document Right Arrow Icon
What is HTML? HTML is a language for describing web pages HTML stands for H yper T ext M arkup L anguage HTML is not a programming language, it is a markup language A markup language is a set of markup tags HTML uses markup tags to describe web pages HTML tags HTML markup tags are usually called HTML tags HTML tags are keywords surrounded by angle brackets like <html> HTML tags normally come in pairs like <b> and </b> The first tag in a pair is the start tag , the second tag is the end tag Start and end tags are also opening tags and closing tags HTML Documents = Web Pages HTML documents describe web pages HTML documents contain HTML tags and plain text HTML documents are also called web pages The purpose of a web browser (like Internet Explorer or Firefox) is to read HTML documents and display them as web pages. The browser does not display the HTML tags, but uses the tags to interpret the content of the page <html> <body> <h1> My First Headings </h1> <p> My first paragraph</p> </body> </html> HTML documents are defined by HTML elements
Background image of page 1

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

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

Unformatted text preview: HTML Element Syntax An HTML element starts with a start tag / opening tag An HTML element ends with an end tag / closing tag The element content is everything between the start and the end tag Some HTML elements have empty content Empty elements are closed in the start tag Most HTML elements can have attributes HTML Elements An HTML element is everything from the start tag to the end tag: The start tag is often called the opening tag . The end tag is often called the closing tag . Attributes provide additional information about HTML elements HTML attributes HTML elements can have attributes Attributes provide additional information about the elements Attributes are always specified in the start tag Attributes come in name/value pairs like : name = value START TAG * &lt;p&gt; &lt;a href = default.htm&gt; &lt;br/&gt; END TAG * &lt;/p&gt; &lt;/a&gt; ELEMENT CONTENT This is a paragraph This is a link...
View Full Document

This note was uploaded on 02/15/2012 for the course WEB Web Page D taught by Professor Na during the Fall '10 term at NYU.

Page1 / 2

NOTES html 1-29 - HTML Element Syntax An HTML element...

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