Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Hyperlink
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===HTML=== {{Main article|HTML element#Anchor}} [[Tim Berners-Lee]] saw the possibility of using hyperlinks to link any information to any other information over the [[Internet]]. Hyperlinks were therefore integral to the creation of the [[World Wide Web]]. Web pages are written in the hypertext mark-up language [[HTML]]. This is what a hyperlink to the home page of the [[W3C organization]] could look like in HTML code: <syntaxhighlight lang="html"> <a href="https://www.w3.org/">W3C organization website</a> </syntaxhighlight> This HTML code consists of several [[HTML element|tags]]: * The hyperlink starts with an anchor opening tag '''<nowiki><a</nowiki>''', and includes a hyperlink reference '''<nowiki>href="https://www.w3.org/</nowiki>"''' to the '''[[URL]]''' for the page. (The URL is enclosed in quotes.) * The [[URL]] is followed by '''>''', marking the end of the anchor opening tag. * The words that follow identify what is being linked; this is the only part of the code that is ordinarily visible on the screen when the page is rendered, but when the cursor hovers over the link, many browsers display the target URL somewhere on the screen, such as in the lower left-hand corner. * Typically these words are underlined and colored (for example, blue for a link that has not yet been visited and purple for a link already visited). * The anchor closing tag ('''<nowiki></a></nowiki>''') terminates the hyperlink code. * The '''<nowiki><a></nowiki>''' tag can also consist of various [[HTML attribute|attributes]] such as the "rel" attribute which specifies the relationship between the current document and linked document. [[Webgraph]] is a [[Graph (discrete mathematics)|graph]], formed from [[web page]]s as vertices and hyperlinks, as directed edges.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)