The test
Introduction to HTML notes 1
-
- Who invented HTML?
- Tim Berners-Lee[1](Tim Berners-Lee). He is the inventor of the World Wide Web and a professor at the University of Southampton and the Massachusetts Institute of Technology. On December 25, 1990, Robert Cario worked with him at CERN to successfully implement the first communication between HTTP proxy and server over the Internet.
-
- What should I start with in HTML?
-
In the new blank
HTML
In the file, type an exclamation point
!
Key in the dialog box that is displayed
emmet abbreviation
(You can also press
Tab
Key defaults to this option) quickly generated
HTML
Document type.<! DOCTYPE html>
Which document type to parse with-
<html lang="en">
Browser language changes <meta charset="UTF-8">
The character encoding of the file (UTF-8 is the global language)< meta name = "viewport" content = "width = device - width, initial - scale = 1.0" >
Disable zoom, compatible with mobile phones<meta http-equiv="X-UA-Compatible" content="IE=edge">
Use the latest IE kernel
-
- What are commonly used table chapter labels and what do they mean?
-
- Title: >
h1~h6
- Chapter – >
section
- The article – >
article
- Paragraph – >
p
- The head – >
header
- Foot – >
footer
- Main content — >
main
- Collateral content — >
aside
- Division – >
div
- And so on…
- Title: >
-
- What are the global properties?
-
class
: Classifies and labels labels.contenteditable
: makes any element writablehidden
: Hides the entire labelid
: has the “unique” flag, but sometimes does not report an error, andCSS
style
: Modifies the label style. (Priority:JS
>html
>CSS
)tabindex
: Without using a mouse,Tab
Key toggle select web page operation (in order of positive integer size toggle, if there is no integer down).
Among them,tabindex[0]
Was chosen last,tabindex[-1]
Is never chosen.title
: Displays complete content
All tags have attributes
and
JS
Have a role. -
- What are the common content tags and what do they mean?
-
ol+li
— > Ordered lists, list itemsul+li
— > No list, list itemdl+dt+dd
— > Description list, description object, and description contentpre
— > Keep Spaces, carriage returns, and tabs (HTML only keeps 1 space)hr
— > Horizontal dividerbr
— > a newlinea
— >a tagem
— > emphasize, default italicsstrong
— > Important, bold by defaultcode
— > display code, default English characters equal width, do not keep carriage return, etcquote
— > Quote (inline)blockquote
– > reference block- And so on…
The main content of Note 1
© Reprint Statement
[1] China Internet Information Office of The People’s Republic of China [Citation dated 2020-03-31]