HTML Tags Lesson 2
What are HTML Tags? Markup tags Coded instructions that accompany the plain text of an HTML document Syntax –Left wicket< –Tag elementTITLE –Optional set of tag attributes –Right wicket>
Opening and Closing Tags My Web Page Empty tags –Do not occur in tag sets –Stand alone –Solitary element Non-empty tags –Opening tag –Closing tag –Separated by effected text
Document Section Tags Head –Primary function is to house tag Determines text displayed in title bar of browser Body HTML
Text Formatting Tags Heading levels – to –Bold –White space before/after heading text ,, ,
Layout Tags –Inserts line break immediately following tag –Marks beginning of new paragraph/block of text –Text forced to next line and left justified –Instructs browser to display text exactly as it is typed in HTML document –Indents blocks of text
Logical Tags Comment –Does not display comment text in browser
Lists Unordered lists –Bulleted lists – - Non-empty tag set – - Empty tag Ordered lists –Numbered lists – - Non-empty tag set – - Empty tag