Basic HTML Review (1) and basic html Review

Source: Internet
Author: User
Tags html comment html header

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:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.