Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why would Google use a font tag?

So, I couldn't help noticing while demonstrating Chrome's DOM browser thing to my brother, that Google uses a <font size=-2> tag.

I know this is a stupid question, but from a programming point of view--why would they use a deprecated tag on Google? Is it because it's smaller than using <p class="whatever"> and then creating a style for it, or just going <p style="font-size: x-small">?

like image 490
Carson Myers Avatar asked Dec 27 '09 22:12

Carson Myers


People also ask

Why do we use font tag?

The <font> tag was used in HTML 4 to specify the font face, font size, and color of text.

What is Google Fonts used for?

Google Fonts is a library of 1,442 open source font families and APIs for convenient use via CSS and Android. The library also has delightful and beautifully crafted icons for common actions and items. Download them for use in your digital products for Android, iOS, and web.

Why did Google change its font?

Serif fonts are also considered to be easier to read, thanks to the more distinct letter shapes, something that Google's new font expands on by virtue of being a variable font that can automatically change and optimize the letterforms for different size displays.


1 Answers

In November 2005, Matt Cutts, a Google software engineer, said:

Google’s home page doesn’t validate and that’s mostly by design to save precious bytes. Will the world end because Google doesn’t put quotes around color attributes? No, and it makes the page load faster.

Source: Google Blogoscoped - Matt Cutts, Google’s Gadgets Guy (Interview)

like image 104
Daniel Vassallo Avatar answered Oct 08 '22 21:10

Daniel Vassallo