h1 tag | Sololearn: Learn to code for FREE!

0

h1 tag

Can we use font size attribute to resize h1?

2/18/2017 1:45:14 PM

Sam Malekahmadi

3 Answers

New Answer

+4

actualy using font size attribute to resize h1-h6 is not recomment

+3

yes you can

+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 ).