01:198:170 Chapter Notes - Chapter 4: Html, Html5, W3C Markup Validation Service
HTML
HTML5
Benefits
●Hypertext Markup Language, the newest and best WWW standard language
Tags
Tags
●All tags have attributes that provide additional info about an element
●Words or abbreviations enclosed in angle brackets < and >, like <title> that comes in pairs
○Tag pair surrounds the text to be formatted (or acted upon) like parentheses
■Bold… <b> and </b>
■Italic… <i> and </i>
■Paragraph… <p> and </p>
●The content between the tags is the element
●A few tags are not pairs and so do not have a matching ending SINGLETON
○In these classes, the closing pair bracket is replaced by />
■Ex: <hr/> tag which displays a horizontal line after a paragraph
■<br/> continues the text on the next line
Additional formatting tags
●Some tags define structure, some tags define format
Required Tags
●<!doctype html>
<html>
<head>
<meta charset="UTF-8"/>
taupebee294 and 9 others unlocked
9
01:198:170 Full Course Notes
Verified Note
9 documents
Document Summary
Hypertext markup language, the newest and best www standard language. All tags have attributes that provide additional info about an element. Words or abbreviations enclosed in angle brackets < and >, like that comes in pairs. Tag pair surrounds the text to be formatted (or acted upon) like parentheses. The content between the tags is the element. A few tags are not pairs and so do not have a matching ending singleton. In these classes, the closing pair bracket is replaced by /> Ex: tag which displays a horizontal line after a paragraph. continues the text on the next line. Some tags define structure, some tags define format. Documents tend to have headings, subheadings, so html gives us several levels of heading tags to choose from. From level 1 (highest) headings and to level 6 (lowest) and