Initial contact with HTML experience

Source: Internet
Author: User

Contact HTML about seven days, do a little summary, past memory.

HTML can be broadly divided into three parts: DTD head, head, body three.

DTD header: is used for browser editing, that is, as the saying goes to the computer to see things.

Head: Inside the subdivision there is probably a title (title), base (the relative URL is converted to an absolute URL), link (used with external links), style (declarative style), meat (definition file information), and so on, which make up the header part of the HTML.

Body: This is the most important part of the whole HTML, that is, the part of the person to see. It is composed of various kinds of tags in the main part, including: Style label, text label, IMG Link (image), a tag (link) and so on.

The following is an example of proof:

<! DOCTYPE HTML Public"-//W3C//DTD XHTML 1.0 strict//en" "HTTP://WWW.W3.ORG/TR/XHTML1/DTD/XHTML1-STRICT.DTD">"http://www.w3.org/1999/xhtml"xml:lang="en">"Content-type"Content="Text/html;charset=utf-8"/> <title> Zhoushan Travels </title>"./bright. jpg"text="#ffffff"> <a name="Ancher_one"></a> <p> Time: -、Ten</p> <center> "Arial"Color="Red"Size="3"></font><br/> Photo:<ol> <li> "1.jpg"alt="Here's a sample picture ."Width="420"height=" the"/> </li> <li> "2.jpg"alt=""Border="2"Width=" the"height="420"/> </li> <li> "3.jpg"alt=""Width="3xx"/> </li> </ol> <font face="Arial"Color="Red"Size="3"> Three days, Blue sky, white clouds, sea. </font><br/> <a href="#anchor_one"> Back to top of </a><br/></body>
-----------------------------------effect is as follows-----------------------------------------

Novice first do, a lot of bad places, hope you many forgive, a lot of guidance.

Initial contact with HTML experience

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.