Home >> HTML 5 >> What is HTML Predefined Attributes in HTML 5

What is HTML Predefined Attributes in HTML 5

HTML attributes are using for getting extra information of an element. We can use HTML attributes in the opening tag, like id, class, href, src, type and many more. Attributes have two parts - name and value.

Example:- 

<!Doctype Html>  
<html>     
<head>      
      <title>HTML Predefined Attributes</title>
</head>  
<body> 
       <a href="https://www.coderraj.com/">coderraj.com</a>
</body>  
</html>  

Output
coderraj.com

Here we use "href" attribute in "a" tag. In "a" tag "href" is a name of attribute and "https://www.coderraj.com/" is its value.

 

Post Your Comment

Next Questions
Comment Tag
DOCTYPE Tag
a Tag
abbr Tag
acronym Tag
address Tag
applet Tag
area Tag
article Tag
aside Tag
audio Tag
b Tag
base Tag
basefont Tag
bdo Tag
bdi Tag
bgsound Tag
big Tag
blockquote Tag
body Tag
br Tag
button Tag
canvas Tag
caption Tag
center Tag

Copyright ©2022 coderraj.com. All Rights Reserved.