Popular knowledge of HTML

Source: Internet
Author: User
Tags html page xmlns

Through the popular version of the HTML and HTML to introduce the role of the div CSS relationship.

What is html:http://www.3lian.com/edu/2011/09-25/10681.html

HTML page structure: http://www.3lian.com/edu/2011/09-25/10682.html

The above is the basis of the proposal first read the above 2 articles before looking at the following content.

HTML Popular definition

Popular speaking HTML is a Web page, a text file, you can use Notepad to open, open the inside has the HTML of their own tags (these tags have their own functions), and a certain regularity exists.

First, HTML is opened using a browser to present your content, which requires you to put it in a specific label.

HTML Structure Top

First look at the most basic HTML structure:

<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<meta http-equiv= "Content-type" content= "text/html; Charset=utf-8 "/>
<title> Untitled Document </title>
<body>
</body>

HTML instance

The above code can be copied directly, then create a new Notepad, copy the code into the, and name the ". html" extension (such as: index.html) (extension display), save so as to create a new full HTML page, of course, you use the browser to open, what content is not.

If you want to display "divcss5-test content", then you only need to type in the middle of the word, the complete code is as follows:

<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<meta http-equiv= "Content-type" content= "text/html; Charset=utf-8 "/>
<title> Untitled Document </title>
<body>
divcss5-Test Content
</body>

So use the browser to browse

Effect:

So the content is displayed, this is also the most basic demo-you might as well try to make your own first page.

Summarize:

If we want the browser to display what kind of article text content, we only need to put the text article into "".

Maybe you will think, then I see a lot of web pages, there are pictures, all kinds of text, typesetting is also a variety of how to achieve it?

Here is to tell you, this is the need for you really step yourself to learn, here will be involved in the introduction of CSS topics.

We want to show our own design of different styles of beautiful web pages, it needs CSS to achieve. You can do this by setting the height, width, background, border, text size, text color, etc. of the corresponding area in the Web page.

If you are still interested in the production of CSS Web page, then start from DIVCSS5, if the above article once read do not understand, then see more than a few times, more practice can be. Hope you can learn to succeed at an early date, at the same time DIVCSS5 also opened the system of CSS training (including from HTML to CSS System learning), may wish to try.

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.