HTML day01

Front-end classes day01 classroom content record

The main content: HTML basic content

① about the basic meaning format

<! DOCTYPE html>
declaration HTML

<Meta charset = "UTF-8">
charset coded character set
UTF-8 Unicode
gb2312 Chinese standard Article 2312 Chinese, Korean, .... most Asian languages (Traditional does not support )
GBK extension can be supported on the basis of the above Traditional
unicode make larger memory

② about comments

<! - comments Content ->
Comments are looking for developers, not for the user to see. In the browser, touch the comment will skip, not to resolve him;

Notes which do not nest comments;

Notes shortcut: Select Content + ctrl + /

③ single label ditag

Ditag (pairwise)
Example: <html attribute name = "attribute value" 2 attribute name = "attribute value 2"> </ html>

Single-label (single)
Example: <meta attribute name = "attribute value" 2 attribute name = "attribute value 2" />

④ on some of the escape character

Space: & nbsp; (all together spaces and line breaks will be resolved to a single space)

<     :&lt;

>     :&gt;

Wrap: a (single label)

⑤ About browser

Five: IE [Compatibility Mode], Google [speed mode], Firefox, Apple, Europe Peng (distinguished by the kernel)

Kernel function: Code -> machine code / byte code, and have portability

⑥ on the label (tag elements)

Inline tags: on one line, this line is displayed only when no less than the time to appear Wrap

                  Element can not set the width and height, and width to hold up to high by the content

Block-level tags: their own line, width and height may be provided

The row block tags: on one line, and the width and height may be provided

⑦ on Table <table> </ table>

Neat table must be equal to the number of cells per row.

表格属性:border=" ";width=" ";height=" ";cellpadding=" ";cellspacing=" ";rowspan=" ";colspan=" "

 

Guess you like

Origin www.cnblogs.com/xiexie-blog/p/10932127.html