Basic HTML Review (1) and basic html Review
HTML: HyperText Markup Language (HyperText Markup Language), not a programming Language, is a Markup Language HTML element: <p> paragraph </p> HTML Tag: <p> paragraph </p> HTML Declaration: <! DOCTYPE> is not a tag HTML5: <! DOCTYPE html> HTML4.0.1 strict: <! Doctype html public "-// W3C // dtd html 4.01 // EN" "http://www.w3.org/TR/html4/strict.dtd"> HTML 4.01 Transitional: <! Doctype html public "-// W3C // dtd html 4.01 Transitional // EN" "http://www.w3.org/TR/html4/loose.dtd"> HTML 4.01 Frameset: <! Doctype html public "-// W3C // dtd html 4.01 Frameset // EN" "http://www.w3.org/TR/html4/frameset.dtd"> XHTML 1.0 Strict: <! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Strict // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> XHTML 1.0 Transitional: <! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Transitional // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> XHTML 1.0 Frameset: <! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Frameset // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> XHTML 1.1: <! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.1 // EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> HTML title:
Target value |
Description |
Example |
_ Blank |
Open link in new window |
<A href = "http://www.runoob.com" target = "_ blank">... </a> |
_ Self |
By default, the link is opened in the same framework. |
<A href = "http://www.runoob.com" target = "_ self">... </a> |
_ Parent |
Open a link in the parent framework |
<A href = "http://www.runoob.com" target = "_ parent">... </a> |
_ Top |
Open the link throughout the window |
<A href = "http://www.runoob.com" target = "_ top">... </a> |
Framename |
Open the link in the specified framework |
|
The id attribute in the link: <a id = "tar"> here </a> ...... <a href = "# tar"> redirect </a> HTML image: HTML line feed (empty element ): <br/> HTML horizontal line: