My second day at Lebyte Online (updated)
What is HTML? What is HTML5?
HTML stands for hypertext markup language, which is used to describe web pages. Html5 is the fifth revision of HTML, which is more semantic, machine-readable and provides more media access.
What are the concepts of HTML element tags and attributes?
HTML is a language that describes the content of web pages. HTML documents are composed of tags, web content and tag attributes. There are two kinds of tags. 1.
p I am a paragraph /p 1Copy the code
Consists of a start label and an end label. 2. Labels that appear separately:
br Next line 1Copy the code
There is only one opening tag; 3. Tag attributes, also called tag features, provide more information for tags
p class="name" I am a paragraph /p 1Copy the code
Class ="name" is a class attribute of the P tag;
What are document types and what do they do?
There are many different document types on the Internet. The browser selects the corresponding software to open the document according to different document types. Only by accurately determining the HTML version on the page can the browser accurately open the document, such as.
What are meta tags used for?
The meta tag is an important tag in HTML language. It is usually located in the tag and is used to describe the attributes of an HTML web document, such as author, date, time, page description, keywords, page refresh, etc.
Such as meta HTTP - equiv = "content-type" Content = "text/HTML. charset=gb2312" 1Copy the code
This specifies the character encoding used in the current document as GB2312, which is simplified Chinese characters. From this line of code, the browser can recognize that the web page should be displayed in simplified Chinese characters
What is Web semantematization, and what problem is it trying to solve?
In simple terms, the machine can read the content of the web page, the content itself reasonable expression of semantic, content and performance separation, the right label to do the right thing.
What is the concept of a link and what tag does it correspond to?
tag, which links to other web pages
a href="http://www.baidu.com"Copy the code