Purposes Of Html A Tag
HTML A Tag is used to interlinking (connect) different web pages. In the addition, HTML Links OR Hyperlinks are the only way to joint the HTML pages. Link is a clickable text which is used to jump to another page.
Hyperlink In HTML & Syntax
<a href="">
Anchor Text
</a>
Output:
Anchor Text
Attributes of A Tag
The actions of A Tag can be made more useful by using Different Attributes an Attributes can make element more effective in it's actions. <a href="" target="_AttributeValue"> Anchor Text </a> Output: Anchor Text
_AttributeValue | Description |
---|---|
_blank | _blank It will open the links in a blank windo or Tab |
_self | _self It will poen the link in the same tab |
_parent | _parent It Opens the linked pages in the parent frame |
Download | Download attribute It will enables you to connvert a link into a Download link |
HTML a download
You can convert any HTML hyperlink into an HTML download link by using Download Attribute. It will connvert the simple href link into a html download link. <a href="" download="Link_To_Download"> Anchor Text </a> Output: Anchor Text
html-image-link
HTML Image Link an Image also can be used as an anchor OR Hyperlink In Html. Anchor link example (s) are also provided, here i will tell you How can we use an image in an Anchor Tag
<a href="https://VU-Ss.Blogspot.com">
<img src="Dummy_Image.png"/>
</a>
Output:
Html A Onclick
An Onclick attribute also can be used to trigger an HTML Hyperlinks OR a link to call some functions and events.
<a href="https://VU-Ss.Blogspot.com" onclick="Action">
</a>
Output: Simple button with an Popup windo
HTML Tags
- Comment
- A
- Abbr
- Acronym
- Address
- Applet
- Article
- Aside
- Audio
- B
- Base
- Basefont
- Bdi
- Bdo
- Big
- Blink
- Blockquote
- Body
- Br
- Button
- Canvas
- Caption
- Center
- Cite
- Code
- Col
- Colgroup
- Datalist
- Dd
- Del
- Details
- Dfn
- Dialog
- Dir
- Div
- Dl
- Dt
- em
- Embed
- Fieldset
- Figcaption
- Figure
- Font
- Footer
- Form
- Frame
- Frameset
- H1 - H6
- Head
- Header
- Hr
- Html
- I
- Iframe
- Img
- Input
- Ins
- Kbd
- Keygen
- Label
- Legend
- Li
- Link
- Main
- Map
- Mark
- Menu
- Menuitem
- Meta
- Meter
- Nav
- Noframes
- Noscript
- Object
- Ol
- Optgroup
- Option
- Output
- P
- Param
- Pre
- Progress
- Q
- Rp
- Rt
- Ruby
- S
- Samp
- Section
- Select
- Small
- Source
- Span
- Strike
- Strong
- Style
- Sub
- Summary
- Sup
- Table
- Tbody
- Td
- Tfoot
- Th
- Thead
- Time
- Title
- Tr
- Track
- Tt
- U
- Ul
- Var
- Video
- Wbr
- Script
0 Comments