Today's class study notes 01, today's class study 01
Offline editing means that the page is loaded without a network, just like software. For example, some mobile phone software can also be laid out without a network.
Format tags
<B> bold font labels
<I> font italic labels
<Sub> subscript tag
<Sup> superlabel
<Del> Delete tags // This is often used in special offers.
A tag
The a tag is the link address. It has an href attribute whose value is URL, and the file name can be directly named in the same directory or in the./root directory.
Example:
<A href = "a.html"> </a>
<A href = "./a.html"> </a>
Link to the file to the lower-level directory
<A href = "dir/B .html"> Click into </a>
<A href = "./dir/B .html"> Click into </a>
Reach the upper-level directory
<A href = "../a.html"> click into </a>
Attribute title and target. One is the prompt and the other is the open method: _ blank/_ self/_ top
External link
<A href = "http://www.163.com"> Netease official website </a>
<A href = "mailto: 793336623.com"> Contact Us </a>
Foxmail email sending software
Skype mobile phone debugging
Tel: 15018878760
<A href = "tel: 15018878760"> call </a>
<A href = "sms: 15018878760"> text message </a>
It is useful on mobile terminals.
Anchor:
Href = "# name"
Compatible: name = "name"
The anchor point refers to the destination address on the page. If there are many chapters on the page, you can set an anchor for each chapter, jump to the past, and return to the top.
Img tag
The img label automatically scales according to the width or height.
Alt = "" can be used as an SEO search engine instead of Text
Image hot zone
If debugging is not easy, the origin is set to the upper-left corner of the target image, that is, the placeholder size does not include margin, and the placeholder size has the placeholder width and height.
Width = width + border + padding;
Height = height + border + padding;
In this case, you can use photoshop to find the coordinates and use tools such as the ruler.
<Map name = "map1">
<Area shape = "rect" coords = "x1, y1, x2, y2" href = "url" alt = "Replace text">
</Map>
If the image is large and long, only a certain part is taken, the image Heat Zone is used.