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!