Home >> HTML 5 >> basefont Tag in HTML 5

basefont Tag in HTML 5

The "basefont" tag is used to set default font for all text in website. HTML5 not supported this tag.

For example:-

<!DOCTYPE html>  
<html>  
<head>  
   <title>Basefont tag</title>  
   <basefont color="red" size="5" face="arial">  
</head>  
<body>   
   <h2>Example of Basefont tag</h2>  
   <p>The basefornt tag is not supported in HTML5 use CSS to style the document</p>  
</body>  
</html>  

Post Your Comment

Next Questions
bdo Tag
bdi Tag
bgsound Tag
big Tag
blockquote Tag
body Tag
br Tag
button Tag
canvas Tag
caption Tag
center Tag
cite Tag
code Tag
col Tag
colgroup Tag
data Tag
datalist Tag
dd Tag
del Tag
details Tag
dfn Tag
dialog Tag
dir Tag
div Tag
dl Tag

Copyright ©2022 coderraj.com. All Rights Reserved.