html markup contains several key parts such as tags and their attributes, character-based data types, character references, and entity references; html is a standard markup language used to create web pages; web browsers can read HTML files and render them into visual web pages.
The operating environment of this article: Windows 7 system, HTML5 version, DELL G3 computer.
Hypertext Markup Language (English: HyperText Markup Language, referred to as: HTML) is a standard markup language used to create web pages. HTML is a basic technology that is often used by many websites together with CSS and JavaScript 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.
HTML markupContains several key parts such as tags (and their attributes), character-based data types, character references, and entity references. HTML tags are the most common and usually appear in pairs, such as
Another important component of HTML is the document type declaration, which triggers standards mode rendering.
The following is an example of a classic Hello World program:
<!DOCTYPE html> <html> <head> <title>This is a title</title> </head> <body> <p>Hello world!</p> </body> </html>
The text between and describes the web page,
and This is a title defines the browser's page title.The document tag type is used in HTML5. If not declared, the browser will render using "weird mode".
For more detailed and interesting HTML knowledge, please visit the HTML video tutorial column!
The above is the detailed content of what is html tag. For more information, please follow other related articles on the PHP Chinese website!