Lesson 3 Flashcards
xmlns
Attribute for HTML tag. It is required in HTML. Default: www.w3.org/1999/xhtml
lang
Attribute for HTML tag. Default: lang=βenβ. Useful for search engines and speech synthesizers.
encompasses:
, ,
:
content-type, http-equiv, name, content
content-type value
http-equiv (contains values that allow you to automatically refresh a page or redirect
<pre></pre>
display plain text in original format
<div></div>
defines a section in an HTML document. Used to group block elements with CSS.
Event attributes
Added in HTML 4. Allows scripts to be run according to certain end user events.
<cite></cite>
Phrase element. Italic.
<hr></hr>
Horizontal rule. Empty tag in HTML, stand alone non-empty tag in XHTML (<hr />