HTML tag status and target attribute_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:39:40
Original
1289 people have browsed it

Four states of

A:link connection normal state

A:hover When the mouse is placed

A:active When the mouse is pressed

A:visited The status after the connection has been visited

target attribute

_blank
The browser always opens in a new, unnamed window Load the target document into .


_self
The value of this target is the default target for all
tags that do not specify a target, which causes the target document to be loaded and displayed in the same frame Or as a source document in the window. This target is redundant and unnecessary unless used in conjunction with the target attribute in the tag of the document title.


_parent
This target causes the document to be loaded into the parent window or frameset containing the frame referenced by the hyperlink. If this reference is in a window or in a top-level frame, it is equivalent to target _self.


_top
This goal causes the document to load into the window containing the hyperlink. Using the _top goal will clear all contained frames and load the document into the entire browser window.

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template