h1 tag | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

h1 tag

Can we use font size attribute to resize h1?

18th Feb 2017, 1:45 PM
Sam Malekahmadi
Sam Malekahmadi - avatar
3 Answers
+ 4
actualy using font size attribute to resize h1-h6 is not recomment
18th Feb 2017, 11:11 PM
Azer Xelef
Azer Xelef - avatar
+ 3
yes you can
18th Feb 2017, 2:06 PM
Akshata
Akshata - avatar
+ 3
You can set 'font-size' CSS property for <h1> elements... If you talk about 'attribute', you make confusion with the HTML tag attributes, which are to avoid since you can use CSS to replace them ( almost all style related attributes in html tags are deprecated in Html5, except the 'style' inlined rules declaration, but is to avoid at production and reserve to JS use and devellopment testing purposes ).
19th Feb 2017, 9:11 AM
visph
visph - avatar