Simple HTML, simple HTML

Source: Internet
Author: User

Simple HTML, simple HTML

 

HTML is especially easy to understand! If you want to learn how to create a web page, let's take a look at it! First, let me introduce what HTML is!

HTML is a language used to describe web pages! After combining the CSS style, it will have a very cool style!

1. HTML is a hypertext Markup Language. Its full name is Hyper Text Markup Language.

2. HTML is not a programming language but a markup language.

3. HTML uses tag to describe Web pages

4. The markup language is a set of markup labels <markup tag>

5. HTML documents contain HTML tags and text content

6. HTML documents are also called web pages.

What is an HTML Tag?

HTML tag is usually called HTML tag. <HTML tag>

1. HTML tags are keywords surrounded by Angle brackets, such as

2. HTML tags are usually paired. <B> </B>

3. The first tag in the tag pair is the start tag, that is, the first tag, and the last tag is the end tag, that is, the end tag!

Ey: <first tag> content <last tag>

Okay! It's not nonsense. Let's start with a simple small case!

HTML instance:

<! DOCTYPE html>

<Html>
<Head>
<Meta charset = "UTF-8">
<Title> </title>
</Head>
<Body>
My first webpage!
</Body>
</Html>

[Tips: Pay attention to code indentation!]

 Then he looks like this!

 

 

That's easy! Although ugly, it is the first one after all! There will be a lot of amazing results in the future!

Instance resolution:

1. <! DOCTYPE html> describes the document type.

2. The document type is described in

3. The content on the <body> and </body> page is visualized. That is to say, everything you see on the page is in the <body> and </body>

4. The <title> </title> label is the page header, that is,

  

Something shown in this place!

5. Currently, in most browsers, the direct output of Chinese or Chinese garbled characters and our <meta charset = "UTF-8"> label is to prevent Chinese garbled labels

6

 

Okay! That's all! You have to give it a try!

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.