Why is html called hypertext markup language?

下次还敢
Release: 2024-04-21 13:18:21
Original
321 people have browsed it

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?

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:

  • Hypertext (Hypertext): HTML allows the creation of links in documents that users can Clicking on a link jumps to other related documents or websites, thus forming a network structure, that is, hypertext.
  • Markup Language (Markup Language): HTML is a markup language that uses specific markup codes to define the structure and content of the document. These tags don't appear in the final displayed document, but they tell the browser how to format and render the content.

Composition of HTML

HTML document consists of the following parts:

  • DTD (Document Type Declaration ): Specifies the document type, such as HTML 4.01, HTML 5, etc.
  • HTML tag: Code surrounded by angle brackets, such as,,< body>etc. These tags define different sections and content elements of the document.
  • Attributes: Additional information added to the tag, such assrcinAttributes.
  • Content: Text or other content between tags.

HTML tags can be nested to form complex structured documents. For example:

  我的第一个网页 

欢迎访问我的网站

这个是一个段落。

Copy after login

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!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!