In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail the example analysis about the basic knowledge points of HTML. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.
Who invented HTML
In 1990, Tim Berners Lee invented the wide web World wide Web). In order to help people read web pages, at the same time, they invented HTML, HTTP and URL; to access their own servers with their own browsers. This is the origin and embryonic form of people accessing web pages on the Internet.
What should HTML write at the beginning
Third, the labels of commonly used table chapters
H2-h7 title: 1-6 title size decreases step by step
Section chapter: used to write content blocks
Article articles: used to write article blocks
P paragraph
Header header
Bottom of footer
Main content part of main
Content next to aside
Div partition
IV. Global attributes
A global attribute represents an attribute that any tag can have.
Class class name
Contenteditable editable, with the tag to change the attribute, can be edited
Hidden hiding; you can reset whether or not to hide through css
Id id name, although id represents a globally unique id name, in fact, if the global contains two identical id, not only will no error be reported, but also the set style can be displayed normally, so it is not recommended to use it in general; and the properties above the window cannot be set to change the id name, otherwise it will not work when the js directly uses id to manipulate the dom object, and can only be obtained through document.getelementById ().
The style set by style on the label
Tabindex manipulates the page through the tab key. If the mouse is not applicable, tab can select the option on the page, and 0 indicates the last selected one, and-1 indicates that the element cannot be selected.
Title indicates that the title attribute value of the tag is displayed when the mouse is over the element
Fifth, commonly used content tags
Ul + li ordered list
Ul + li unordered list
Dl + dt + dd list with title
Pre preserves the spaces, tab, and enter in the HTML tag
Hr split line
Br automatic line feed
A hyperlink (two attributes of href target)
Em emphasis italics (tone emphasis)
Strong emphasizes bold (content emphasizes)
The code code shows that the style is not as wide as letters.
Quote reference: an inline reference with no difference in style
Blockquote references: block-level references
This is the end of this article on "sample Analysis of HTML basic knowledge points". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
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.