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 shows you the "sample analysis of entry knowledge points in HTML", which is easy to understand and well-organized. I hope it can help you solve your doubts. Let me lead you to study and study the "sample analysis of entry knowledge points in HTML".
HTML (HyperText Markup Language) is not a programming language, but a markup language that tells browsers how to organize pages.
HTML can be complex or simple, and it all depends on the developer.
It consists of a series of elements (elements) that can be used to surround different parts of the content and make it present or work in some way. A pair of tags (tags) can add hyperlinks to a piece of text or a picture, set text to italics, change font size, and so on.
Tim Berners-Lee, the father of HTML, called Sir Lee in 2004, the Queen of England awarded the order of Commander of the British Empire in 2017, he was awarded the Turing Award, he wrote the first browser, he wrote the first browser, he used his own browser to access the server he wrote, invented WWW, and invented HTML, HTTP and URL shortcuts: exclamation point! + tabDOCTYPE: document type
Browsers support many document types (HTML, XHTML... ). Means to tell the browser to start writing HTML. The html tag is the root tag
Must write (if not write will automatically add) can change the attribute value of lang to zh-CNhead and body tags, although it is a child of html, but generally do not indent head tags to store invisible elements viewport viewports and windows chapter tags Usually used to represent the level of articles and books (that is, content frames) title h2--h7 chapter article article paragraph p head header foot footer main content main side content aside division div any tag can have attributes style tags, there are contenteditable attributes that can be edited
You can put the style tag inside the body, and then add it, and the style content in the style tag will be displayed in the browser, and then add the contenteditable attribute to the style tag, you can always directly modify the style in the browser and refresh the id in real time to indicate the global uniqueness of the [globally unique tag] id. Even if there are two duplicate id,HTML, it will not prompt me that I am wrong.
Class is enough, do not use id unless you have to, because repeated use of id will not report errors, which may mislead developers.
# xxx {
}
There are many words that cannot be used in id: parent, self, top... None of the words in the console input pop-up attribute list can be used because these words are global properties that window already has
The top.style.border= "10px solid red" / / direct call cannot get the top element, which has the same name as the global attribute in the window object.
Var ele=document.getElementById ("top") / / you can get the top element in this way, but the word is a little more complicated.
Writing in js overrides the inline style in the div element. When browsing the page, the buttons in the page are only selected through the keyboard tab control. And the tabindex attribute here is the order of control and switching.
The one selected will have an obscure blue border.
Home page
A paragraph
? copyright
Tabindex can be a positive number, not necessarily a contiguous tabindex. It can be 0, indicating that it was last accessed by tab. Tabindex can be-1, indicating that one-line text cannot be accessed by tab. Use ellipsis.
When you move the mouse over the text, you should be able to show all the text content, including the overflow hidden part of ordered list + list itemol: ordered list ol cannot contain any elements or characters other than li
{{}} unordered list + list itemul: unordered list
{{}} description list + term + datadl: description list-- description list dt: description term-- description item dd: guess is description data-description information
The abbreviation of {{}} preview uses less html features: multiple spaces, carriage returns, tab and other contents in HTML code are converted into a space by default. The function of pre is to retain the blank space typed by the developer (pre has a default style and is ugly, as follows)
{{}} content wrapped in code tags in fonts of equal width, with characters of equal width. However, the default content is displayed in the same line, so you can use pre to wrap the content of code.
{{}} horizontal split line horizontal
The abbreviation of {{} break, the abbreviation of newline anchor, the hyperlink.
Href target
Domestic developers are accustomed to using _ blank to open links in new tags. Foreign developers usually do not write target, they think it will make browser web pages open more and more (they are used to: open a new tab by clicking in the middle of the mouse, default left click to jump on the same screen) the abbreviation emphasis of emphasis means to emphasize, the effect font bold font indicates the abbreviation of important quote, quote means to quote quote tags: inline, inline, no newline reference block level, newline
{{}}
The above is all the contents of the article "sample Analysis of getting started in HTML". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
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.