Today's class study notes 01, today's class study 01

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.