Allows for the creation of an anchor element. This is for creating a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL.
1 2 3 |
... |
a collection of HTML objects, textual elements (as bare text or Markdown-styled text), arbitrary attributes (given as named variables). |
id |
a global attribute for specifying a
unique ID for an HTML element (the value must
be unique within the HTML document, though, this
is not currently enforced here). The primary use
of the When constructing an |
class |
a global attribute for specifying
one or more classnames for an element. The
When constructing class names, there are two
things to keep in mind: (1) they begin with a
letter ( |
global |
provides an opportunity to supply
global attributes other than the |
href |
the URL of the page to which the link is directed. |
target |
specifies where to open the linked
document. There are 4 options here: (1) |
download |
specifies that the target will be
downloaded when a user clicks on the hyperlink. This
attribute is only used if the |
media |
this specifies what media/device the linked document is optimized for. This attribute is used to specify that the target URL is designed for special devices, speech, or print media. This attribute can accept several values. |
type |
specifies the Internet media type
(formerly known as MIME type) of the linked document.
This attribute is only used if the |
rel |
this attribute specifies the relationship
between the current document and the linked document.
It is only used if the |
hreflang |
specifies the language of the linked
document. This attribute is only used if the
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.