HTML is called Hypertext Markup Language because it has both hypertextuality (can create links between documents) and markup language (the use of markup code to define the document structure). HTML documents are composed of DTD, HTML tags, attributes and content. Tags can be nested and are widely used in web page creation.
Why is HTML called Hypertext Markup Language?
The full name of HTML is Hypertext Markup Language, Chinese translated as hypertext markup language. It is called Hypertext Markup Language because it has the following characteristics:
Composition of HTML
HTML document consists of the following parts:
<html>
, <head>
, < body>
etc. These tags define different sections and content elements of the document. src
in <img src="image.jpg">
Attributes. HTML tags can be nested to form complex structured documents. For example:
<code class="html"><html> <head> <title>我的第一个网页</title> </head> <body> <h1>欢迎访问我的网站</h1> <p>这个是一个段落。</p> </body> </html></code>
Application of HTML
HTML is widely used to create web pages. It provides the basic structure and format for web pages and allows the addition of text, images, videos, Links, etc. With HTML, we can create interactive, information-rich websites and web pages.
The above is the detailed content of Why is html called hypertext markup language?. For more information, please follow other related articles on the PHP Chinese website!