Home > Article > Web Front-end > what is html tag
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 4a249f0d628e2318394fd9b75b4636b1 and 473f0a7621bec819994bb5020d29372a. Among these tags that appear in pairs, the first tag is the start tag and the second tag is the end tag. Between the two tags is the content of the element. Some tags have no content and are empty elements, such as a1f02c36ba31691bcfe87b2722de723b.
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 100db36a723c770d327fc0aef2ce13b1 and 73a6ac4ed44ffec12cee46588e518a5e describes the web page, 6c04bd5ca3fcae76e30b72ad730ca86d and d75b533e791a8a15d8aeb281af494888This is a title6e916e0f7d1e588d4f442bf645aedb2f defines the browser's page title.
The document tag type 8b05045a5be5764f313ed5b9168a17e6 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!