Skip to content
Related Articles

Related Articles

Improve Article

HTML | <a> type Attribute

  • Last Updated : 27 May, 2019

The type attribute is used to specify the Internet media type of the linked document. It is used only when href attribute is set.


<a type="media_type">

Attribute Values: It contains the value “media_type” which specify the Internet media type of the embedded file.


<!DOCTYPE html>
        HTML a type Attribute
    <p>Welcome to
        <a href=""


Supported Browsers: The browser supported by HTML <a> type Attribute are listed below:

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Safari
  • Opera

Attention reader! Don’t stop learning now. Get hold of all the important Comcompetitivepetitve Programming concepts with the Web Design for Beginners | HTML  course.

My Personal Notes arrow_drop_up
Recommended Articles
Page :