In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces what the HTML writing format is, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
one。 HTML introduction
HTML (English: Hyper Text Markup Language, abbreviated as: HTML), also known as Hypertext markup language, was invented by physicist Tim Berners-Lee of CERN in the 1990s. Its greatest advantage is that it supports hyperlink redirection and can go to other web pages, thus forming the entire Internet. Is a markup language that uses structured Web pages and their content, and you can use HTML to build your own WEB site.
II. Document structure parsing 1.Doctype
Document type declaration (Document Type Declaration, also known as Doctype). It mainly tells the browser the type of file being viewed. In previous HTML4.01 and XHTML1.0, it represents a specific HTML version and style. Today, HTML5 doesn't need to express version and style.
/ / undivided case
2.html element
First of all, the element is the meaning of the tag, and the html element is the html tag. The html element is the element that begins and ends the document. It is a double tag that echoes from beginning to end and contains content. This element has an attribute and value: lang= "zh-cn", indicating that the document is in simplified Chinese.
/ / en if it is in English
3.head element
Used to contain the content of metadata, including:,. These contents are used by browsers to provide information, such as CSS information provided by link, JavaScript information provided by script, page title provided by title, etc.
. / / this information is not visible on the page.
4.meta element
This element is used to provide information about the document, and the starting structure has an attribute: charset= "utf8". Generally speaking, we use utf8 to tell the browser what kind of encoding the page uses. Of course, the file is also saved as utf8, and the browser also sets utf8 to display Chinese correctly.
/ / in addition to setting the code, there are other things
5.title element
This element is simple, as the name implies: set the title in the upper left corner of the browser.
Basic structure
6.body element
The element used to contain the content of the document, that is, the visible area of the browser. All visible content should be added inside this element.
...
An example of HTML format of a simple web page
Page title
Hello World
Thank you for reading this article carefully. I hope the article "what is the HTML writing format shared by the editor is helpful to everyone?" at the same time, I also hope that you will support and pay attention to the industry information channel, and more related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.