Minute minutes teach you to use HTML to write Web pages

Source: Internet
Author: User

Before learning how to use HTML to write Web pages, we must first understand what is HTML? Of course, is not the system to introduce you to the HTML past life, if the interest of the small partner to ask the degree Niang, she will give you the answer you want.

The so-called HTML, which we often hear "Hypertext Markup Language," is a standard universal markup language under an application, the current version is 5.0, the image above is the official logo issued. "Hypertext" means that the content of a page is not only text, but also non-textual elements such as images, links, and even sounds, animations, and small programs. All you need to know is that Web pages are Web pages, and HTML is a markup language for writing web pages.

After understanding the concept of HTML, we look at the general structure of the HTML document: In short, there are two parts, one is the head (head), the other is the subject, namely the body, the head part is mainly used to describe the information about the Web page, the body part is the specific content of the page. Usually we use three pairs of tags to represent the overall structure of a page, which are

When it comes to labels, it's also called a marker. A tag is a string with a less than sign (<) and a greater than (>) in each side. A start tag is a label that does not start with a slash (/) and is internally a string of allowed property-value pairs. The end tag is a label that starts with a slash (/). The structure and format of a Web page document is defined by an HTML element, whereas an HTML element is a contained range defined by a single or a pair of tags. The four main forms of HTML elements are given:

The head elements that are commonly used in HTML are as shown in

The commonly used character set is shown in

Said so much, I think you may be a little impatient, the kind of eager to try to get excited about the mood I can understand. Let's try a little sledgehammer and write a simple Web page.

The first is to create a new HTML file, and then look like the whole structure above

Then we insert the content we want to show between the corresponding tags, and I'll give you the code:

<! DOCTYPE html>

In the above example I applied the text, pictures and links, and so on simple page elements, and did not design the layout, because it is only to see the two-hour video, here is to say that the HTML to write the Web page is a very simple thing, that is, my topic said " Minute minutes teach you to use HTML to write Web pages. "

but want to make whether the content or structure of the Web page, is the need for us to seriously study and study, now the more popular B/s mode of application, we need to design and produce a better front-end page, so also need to further study and summary. Get here today and start DIY your own imaginary Web page.

Minute minutes teach you to use HTML to write Web pages

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.