The HTML Axe
The origin of
Tim Berners-Lee, better known as Sir Lee, created HTML in 1990. The whole process of HTML is HyperText Markup Language, which is a standard Markup Language used to create web pages. HTML is a basic technology that, along with CSS and JavaScript, is often used by many websites to design the user interface of web pages, web applications, and mobile applications. Web browsers can read HTML files and render them into visual web pages. HTML describes the structural semantics of a website as clues are presented, making it a markup language rather than a programming language. You can find more information on Wikipedia.
First axe up hand
In English, enter! And then enter.
<! DOCTYPEhtml> <! -- Document type -->
<html lang="en"> <! -- show Chinese using zh-CN or zh-hans -->
<head>
<meta charset="UTF-8">
<meta name="viewport" content="Width = device - width, initial - scale = 1.0"> <! -- Disable zoom, compatible with mobile phones -->
<title>My web page</title> <! -- Here write the argument -->
</head>
<body>
</body>
</html>
Copy the code
Second axe common label
- Hi ~ H6 title is bold and black by default
- Section, so there are other headings and paragraphs and things that can be nested
- article
- Main, main function
- Aside C
- The header of the head
- At the end of the footer
- P tag paragraph
Third axe global properties
What you mean? That’s the property of any tag.
- Class classifies our tags and gives them a tag
- Contenteditable can be editable using either element
<div class="middle bordered" contenteditable>
Copy the code
-
Hidden quickly makes one thing invisible
-
**id= XXX # XXX ** do not use class unless you have to
-
Style style
-
tabindex = 1 2 3 4 ….. Controls the order of tabs, ascending from small to large
If equal to 0, this tag is the last to be accessed; Less than 0 will not be accessed.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Don’t go!!
Here are two sites to learn how to find HTML
Netpath HTML tutorial and MDN