" tag in an HTML document to define a hyperlink that can jump to another HTML page. The specific syntax format is " Another html page"."/> " tag in an HTML document to define a hyperlink that can jump to another HTML page. The specific syntax format is " Another html page".">

Home>Article>Web Front-end> How to hyperlink another html page in html

How to hyperlink another html page in html

青灯夜游
青灯夜游 Original
2021-03-04 17:06:55 52496browse

How to hyperlink another HTML page: Use the "" tag in an HTML document to define a hyperlink that can jump to another HTML page. The specific syntax format is "< ;a href="Specific URL of the html page">Another html page".

How to hyperlink another html page in html

The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.

htmlHyperlink to another html

    
跳转到另一个html页面

Rendering:

How to hyperlink another html page in html

HTMLTag

Tag defines a hyperlink that is used to link from one page to another. The most important attribute of the

element is the href attribute, which specifies the target of the link.

Basic syntax:

文本

Attributes of a tag:

Attributes Value Description
charset char_encoding HTML5 Not supported.Specifies the character encoding of the target URL.
coords coordinates HTML5 Not supported.Specifies the coordinates of the link.
download filename Specify download link
href URL Specifies the target URL of the link.
hreflang language_code Specifies the base language of the target URL. Only used if the href attribute is present.
media media_query Specifies the media type of the target URL. Default value: all. Only used if the href attribute is present.
name section_name HTML5 Not supported.Specifies the name of the anchor.
rel alternate
author
bookmark
help
license
next
nofollow
noreferrer
prefetch
prev
search
tag
Specifies the relationship between the current document and the target URL. Only used if the href attribute is present.
rev text HTML5 Not supported.Specifies the relationship between the target URL and the current document.
shape default
rect
circle
poly
HTML5 is not supported.Specifies the shape of the link.
target _blank
_parent
_self
_top
framename

Specify where to open the target URL. Only used if the href attribute is present.

  • _blank: New window opens.
  • _parent: Open the link in the parent window.
  • _self: Default, jump to the current page.
  • _top: Open the link in the current form and replace the entire current form (frame page).
type MIME_type Specifies the MIME type of the target URL. Only used if the href attribute is present.
Note: MIME = Multipurpose Internet Mail Extensions.

For more programming related knowledge, please visit:Programming Video! !

The above is the detailed content of How to hyperlink another html page in html. 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