1.
Meta name= "viewport" content= "width=device-width,initial-scale=1.0"
Content Property Value:
Width: The value of the viewable area is either a number or a keyword device-width
Height: Same width
Intial-scale: The first time the page is displayed is the zoom level of the viewable area, with a value of 1.0 the page is displayed in actual size without any zoom
maximum-scale=1.0, minimum-scale=1.0; zoom level of the viewable area,
Maximum-scale users can enlarge the page of the program, 1.0 will prohibit the user to enlarge the actual size above.
User-scalable: Whether the page can be scaled, no disables scaling
2.
<! DOCTYPE html>//This page document type, this is HTML5 writing
3.
The link tag in HTML allows connections between the current document and the external document, but only in the head tag. href Sets or gets the target URL, rel Sets or gets the relationship of object and link purpose, type Sets or gets the MIME type of the object, Media to set or get the medium type.
4. alt: If the image cannot be displayed, the browser will display the alternate text
5. $ (document). Ready (function () {}) can be simply written as $ (function () {}), when the page frame is downloaded and executed, JS uses $ to define a method. In the jquery library, $ is an alias for jquery, such as: $ () equivalent to jquery ().
6. Syntax structure: text or picture
Property: Behavior: Value has scroll,slide,alternate
Where scroll means cyclic scrolling, slide means scrolling only once, alternate means scrolling back and forth
BgColor: Indicates the background color
Direction: value has LEFT,RIGHT,UP,DOWM, indicating the direction of scrolling
ScrollAmount: Indicates the speed of scrolling, the value starts at 1, the higher the number, the faster the scrolling
Scrolldelay: The time to pause the scrolling caption, fill in the number, the default unit is milliseconds, so the greater the number of times to pause the longer
Hspace,vspace: Used to set the horizontal and vertical distance of content and scroll boxes
Loop: Number of times to set the loop
onmouseover: Used to set the mouse slide (use the following
text content
Function: The previous one to set the mouse to move out of the area when scrolling continues, the latter setting to stop scrolling 7 when the mouse moves into the area. 11.1<div> Label
Three ways to page layouts: Table frames, frames, and div tags
Grammatical structure: <div style= "" > Specific content </div>
Div can use nested structures
Style has a lot of properties that can be learned in CSS
Define floating frame: <div style= "Float:left/right/none;" ></div>
Define the framework for the left and right structures:
<div>
<div style= "Float:left;" ></div>
<div style= "float:right;" ></div>
</div> Framework for defining a landscape structure: <div>
<div style= "Float:left;" ></div>
<div style= "Float:left;" ></div>
<div style= "Float:left;" ></div>
</div>
This will produce three horizontal frames, the sum of which is the value of their float.
Framework for defining a longitudinal structure: <div>
<div style= "Float:left;clear:both;" ></div>
<div style= "Float:left;clear:both;" ></div>
<div style= "Float:left;clear:both;" ></div>
</div>
This results in a horizontal three frame, with the sum of the values of the float being the same, and finally a Clear:both attribute.
HTML Learning Notes