HTML

HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes

FAQs

HTML type Attribute

HTML type Attribute

 

 

For input elements, the type attribute is used to specify the type of input element to display.

For button elements, the type attribute is used to specify the type of button.

For embed, script, style, link, source, and object elements, the type attribute is used to specify the media type.

 

Used With:-

 

Elements Attribute
a type
button type
embed type
input type
link type
menu type
object type
script type
source type
style type

 

Syntax:-

 

Its syntax is:- < element type="value" >

Code Explanation

All Tutorials related to HTML Attributes

All Sections related to HTML