For learning HTML following heading very important because these are basic information of HTML. Therefore read carefully and understand every part of this chapter.......
HTML TAGS:
- Tags contain elements which provide instructions for how information will be processed or displayed. There are both starter tags <TAG> and end tags </TAGS>
Element:
- A basic unit of an HTML document. The name of the element is given in the name of the tag, and specifies the meaning associated with a block of text. Some elements are empty since they don't effect a block of text. Elements that have contents are also called containers, i.e., they contain attributes.
- Example: the <HR> tag contains the Horizontal Ruler element. It is an empty element in that it has no attribute.
Attribute:
- Defines a special property of an HTML element.
- Example: <IMG SRC="image.gif"> means that the element IMG has an attribute SRC, which specifies the name of the image file, which is assigned the value "image.gif".
Delimiters: <, >, /
- Delimiters surround the tag and inform the parser that it should read the enclosed information as an HTML element.
HTML Structure
HTML is a structured hierarchical language that requires you to follow its rules if you wish your documents to appear correctly. For example, certain elements and tags are required to fit within other elements and tags and will not work unless they are properly placed.
No comments:
Post a Comment