"HTML Development Manual" is an official HTML development online document. This online manual contains the attributes, definitions, usage methods, example operations, etc. of various HTML tags. HTML developers and HTML learners are welcome to refer to it!
HTML is a language used to describe web pages, namely Hyper Text Markup Language (Hyper Text Markup Language), an application under the Standard Universal Markup Language.
HTML is not a programming language, but a markup language, which is necessary for web page production.
"Hypertext" means that the page can contain pictures, links, and even non-text elements such as music and programs. The structure of Hypertext Markup Language (or Hypertext Tag Language) includes a "head" part and a "body" part, where the "head" part provides information about the web page, and the "body" part provides the specific content of the web page.
Tips: A basic website contains many web pages, and a web page is composed of html, css and javascript. html is the main body, loading various dom elements; css is used to decorate dom elements; javascript controls dom elements.
HTML overall structure
The tag <html> indicates that the file is described in Hypertext Markup Language (the full Chinese name of this tag), which is the beginning of the file ; and </html>, represents the end of the file. They are the start tag and end tag of the Hypertext Markup Language file.
Header content
<head></head>
These two markers represent the beginning and end of the header information respectively. The tags contained in the header are the title, preface, description and other content of the page. It is not displayed as content itself, but affects the display effect of the web page.
Main content
<body></body>
The actual content displayed on the web page is included between these two text tags. Text tags are also called entity tags.
Let’s create the first HTML file!
First HTML file
Instance
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>php 中文网</title> </head> <body> <h1>我的第一个标题</h1> <p>我的第一个段落。</p> </body> </html>
Run instance»
Click "Run instance" " button to view online examples
Isn’t it very simple! In fact, the production of Hypertext Markup Language documents is not very complicated, but it is powerful and supports the embedding of files in different data formats. This is also one of the reasons for the popularity of the World Wide Web (WWW)!
Tips: Our HTML tutorial will help you learn step by step how to use HTML to create a site. If you have any questions, please go to the PHP Chinese website HTML CommunityAsk your questions and enthusiastic netizens will answer them for you.
Features of HTML language
Simplicity: The hypertext markup language version is upgraded using a superset method, making it more flexible and convenient.
Scalability: The wide application of hypertext markup language has brought about requirements for enhanced functions and added identifiers. Hypertext markup language adopts the method of subclass elements to bring system expansion. to guarantee.
Platform independence: Although personal computers are popular, there are many people who use other machines such as MAC. Hypertext Markup Language can be used on a wide range of platforms. This is also the World Wide Web (WWW) Another reason for its popularity.
Versatility: In addition, HTML is the universal language of the Internet, a simple and universal all-purpose markup language. It allows web page producers to create complex pages that combine text and images, and these pages can be viewed by anyone else on the Internet, regardless of the type of computer or browser used.
Content covered by this HTML tutorial manual
This HTML tutorial manual covers all basic knowledge of HTML, including an introduction to the HTML editor, the attributes and definitions of various HTML tags , usage methods, example operations, and a more rigorous and purer version of HTML, that is, a basic introduction to XHTML and an introduction to HTML media, etc.
Tips: Each chapter of this tutorial contains many HTML examples. You can directly click the "Run Example" button to view the results online. These examples will help you better understand and use the HTML language.
Other HTML-related learning reference resources
In addition to the knowledge expansion on the right side of this page, the following resources are also selected for everyone
Latest chapter
Related courses
- Quick introduction to web front-end development 2021-12-10
- The front-end course that understands you best: HTML5/CSS3/ES6/NPM/Vue/...[Original] 2022-09-30
- Gulp Getting Started Video Tutorial 2022-04-18
- Brothers in Arms Gao Luofeng CSS3 video tutorial 2022-04-20
- AngularJS development web application basic example video tutorial 2022-04-18
- Ajax full contact 2022-04-13
- MUI framework basic video tutorial 2022-04-13
- Online training class trial class 2019-01-10