0

[ANSWERED]Font size in HTML

Please tell the syntax. Thanks

19th Apr 2017, 6:46 PM
Alex Snaidars
Alex Snaidars - avatar
5 odpowiedzi
0
You should use CSS. <font> but it is not supported in HTML5.
19th Apr 2017, 6:55 PM
Jens90
19th Apr 2017, 7:02 PM
Andrew Harchenko (Tomsk)
Andrew Harchenko (Tomsk) - avatar
+ 3
@Alexander "Just wanted a better look for my page while practising html." So/then use inline CSS. <p style="font-size: 12px;">Your text<p> (or use <span></span> to avoid new paragraphs)
19th Apr 2017, 7:04 PM
Andrew Harchenko (Tomsk)
Andrew Harchenko (Tomsk) - avatar
+ 2
You shoud use CSS for font-sizes (best practices, html - for content, css for looks). Would you like to know about CSS syntax?
19th Apr 2017, 6:55 PM
Andrew Harchenko (Tomsk)
Andrew Harchenko (Tomsk) - avatar
0
Just wanted a better look for my page while practising html. Nevermind)
19th Apr 2017, 6:56 PM
Alex Snaidars
Alex Snaidars - avatar