First lesson HTML

Source: Internet
Author: User

Image:

Picture tag:

Picture properties: Height: tall, Width: breadth; border width: border; Priority reading low resolution graph: LOWSRC; text callout: Alt

Absolute path & relative path:

Absolute path: http://www.cnblogs.com/or D:\360Downloads

Relative path: .. /.. /a/b.jpg

Hyperlinks:

<a href= "hyperlink address" > text or Picture </a>

1. Empty link: <a href= "JavaScript:;" ></a>

The difference between an empty link and other types of links:

Href= "JavaScript:;" With href= "javascript:void (0);", Empty link, click there will be no jump

href= "#" with #top, click Back to Top, page does not refresh

Href= "" Click to refresh and go back to the top

href= "/" Click to jump to the top level directory

2. Link Open window:

_blank opens      in a new window

_parent open in      parent window

< Span lang= "ZH-CN" > _self       

_top return information displayed in the top-level browser window

First lesson HTML

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.