"HTML5" Study note 1 (Basic introduction)

Source: Internet
Author: User

HTML is Hyper Text Markup language Hypertext Markup Language

HTML naming Conventions 1. The file name suffix is. html or. htm
2. The file name can be used in both English and Chinese.

URL is divided into
1. Absolute url--> Displays the full path of the file
Consists of two parts
Part I: Protocol name, such as Thunderbolt protocol
Part Two: The name or IP address of the server, and the path to the file and the name of the file itself
such as http://www.baidu.com
http://www.baidu.com/test/

2. Relative URLs
Describes the location of the destination folder as a reference point, in the folder that contains the URL itself.

Basic structure of HTML document
<! DOCTYPE html>
<!--to notify the browser of what document the current document is--
<!--generally store information about HTML documents, you can put JS and CSS here--

<body>
Contains the body part of an HTML document
</body>



HTML elements
1. HTML elements and their attributes located between < and >
<meta charset= "UTF-8"/>
Element attribute value
2. The label must be a valid element if it is not ignored
3. Double label and single label
4. Label is case-insensitive

Obsolete labels in HTML5
But it's supported in the mainstream browser, but not in the end.
<acronym></acronym>
<big></big>
<center></center>
<font></font>
<strike></strike>
<tt></tt>
<frameset></frameset>
<frame/>
<noframes></noframes>
<dir></dir>
<basefont/>
<applet></applet>

"HTML5" Study note 1 (Basic introduction)

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.