Python Path Day HTML CSS

Source: Internet
Author: User

What is HTML?

HTML is a language used to describe a Web page.

HTML refers to Hypertext Markup Language (Hyper Text Markup Language)
HTML is not a programming language, but a markup language (markup language)
Markup language is a set of tag tags (markup tag)
HTML uses tag tags to describe web pages
HTML tags

HTML tag tags are often referred to as HTML tags (html tag).

HTML tags are keywords surrounded by angle brackets, such as HTML tags are usually paired up, such as <b> and </b>
The first label in the pair is the start tag, the second is the end tag
Start and end tags are also known as open tags and closed labels


HTML document = Web page

HTML Document Description Web page
HTML documents contain HTML tags and plain text
HTML documents are also called Web pages
The purpose of a Web browser is to read HTML documents and display them as Web pages. Instead of displaying HTML tags, the browser uses tags to interpret the contents of the page:

<body>

<p>my First paragraph.</p>

</body>

Text description page between The text between <body> and </body> is visible in the page content
The text between Text between <p> and </p> is displayed as a paragraph
HTML Title

The HTML title (Heading) is defined by tags such as

Instance

What is HTML?

HTML is a language used to describe a Web page.

HTML refers to Hypertext Markup Language (Hyper Text Markup Language)
HTML is not a programming language, but a markup language (markup language)
Markup language is a set of tag tags (markup tag)
HTML uses tag tags to describe web pages
HTML tags

HTML tag tags are often referred to as HTML tags (html tag).

HTML tags are keywords surrounded by angle brackets, such as HTML tags are usually paired up, such as <b> and </b>
The first label in the pair is the start tag, the second is the end tag
Start and end tags are also known as open tags and closed labels


HTML document = Web page

HTML Document Description Web page
HTML documents contain HTML tags and plain text
HTML documents are also called Web pages
The purpose of a Web browser is to read HTML documents and display them as Web pages. Instead of displaying HTML tags, the browser uses tags to interpret the contents of the page:

<body>

<p>my First paragraph.</p>

</body>

Text description page between The text between <body> and </body> is visible in the page content
The text between Text between <p> and </p> is displayed as a paragraph


HTML Title
The HTML title (Heading) is defined by tags such as

Instance

HTML Paragraph
The HTML paragraph is defined by the <p> tag.

Instance
<p>this is a paragraph.</p>
<p>this is another paragraph.</p>

HTML Links
HTML links are defined by the <a> tag.

Instance
<a href= "http://www.baidu.com" >this is a link</a>


HTML Images
HTML images are defined by tags.

Instance

HTML element syntax
HTML element to start tag starting
HTML element terminated with end tag
The content of an element is the content between the start tag and the end tag
Some HTML elements have blank content (empty contents)
Empty elements are closed in the start tag (ending with the end of the start tag)
Most HTML elements can have properties

Nested HTML elements
Most HTML elements can be nested (other HTML elements can be included).
HTML documents are composed of nested HTML elements.
HTML document Instance


<body>
<p>this is my first paragraph.</p>
</body>


HTML instance Explanation

<p> elements:

<p>this is my first paragraph.</p>

This <p> element defines a paragraph in an HTML document.
This element has a start tag <p>, and an end tag </p>.
Element contents are: This is my first paragraph.


<body> elements:
<body>
<p>this is my first paragraph.</p>
</body>

The <body> element defines the body of the HTML document.
This element has a start tag <body>, and an end tag </body>.
The element content is another HTML element (p element).

Python Path Day HTML CSS

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.