Home  >  Article  >  Web Front-end  >  HTML pictures and hyperlinks study notes

HTML pictures and hyperlinks study notes

PHPz
PHPzOriginal
2017-04-23 11:02:491936browse

This article summarizes the html pictures and hyperlink study notes, I hope it will be helpful to everyone learning html!

HTML Pictures and Hyperlinks Study Notes

①Picture

tag, attributes are:

  • src, image link, divided into absolute path and relative path

  • width width

  • height, height

②Hyperlink

Content description Tag, attributes are:

  • href, link address ( Empty link, value is #).

  • target, the position where the link is opened, the attribute values ​​are: _self, open in the current web page; _blank, open a label; _top and _parent, related to the frame I haven’t learned yet arrive.

  • title, link prompt, a prompt appears when the mouse moves over the link.

  • name, link name, used for anchor link

                       

Anchor link (bookmark):

Jump to a certain position on the same page

Usage method: anchor name"> Content After naming the link, You can use a link to point to a certain

within the same page: #anchor name">

within different pages: Page name.html#anchor name">

                                                                                                                                                                                                                                                               

The above is the detailed content of HTML pictures and hyperlinks study notes. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:HTML form study notesNext article:HTML form study notes