HTML template, html webpage Template
<!doctype html>
<
html
>
<
head
>
<! -- Declare the encoding set of the current page: charset = gbk, gb2312 (Chinese encoding), UTF-8 International encoding -->
<
meta
http-equiv
=
"Content-Type"
content
=
"text/html; charset=utf-8"
>
<! -- Three elements of the current page -->
<
title
> Html template </
title
>
<
meta
name
=
"Keywords"
content
=
"Keywords, keywords"
>
<
meta
name
=
"description"
content
=
""
>
<!--css,js-->
<
style
type
=
"text/css"
>
*{margin:0;padding:0;}
</
style
>
</
head
>
<
body
>
</
body
>
</
html
>
Keywords:
Doctype: The current document type (html) is located at the beginning of the document, before the
Html (Hyper text Markup Language): compatible with all browsers (html5, css3), is a Markup Language,
(Markup language) (consists of a set of markup tags) html uses tag tags to describe web pages.
Http-equiv: specifies the content type
Charset: encoding set (gbk, gb2312 Chinese encoding, UTF-8 International encoding)
Css: stacked style sheet
Tags:
<Head>
<Title> </title> webpage title (search information)
<Meta> A single tag is meaningless and depends on its attributes.
<Body> </body> contains the specific content to be described.
<Div> </div> layer, box, container
<Style> </style> defines the style information (* indicates global ownership)