Talk:Font family (HTML)
- Firefox 1.0.4/Mac all the samples display as my default font.
- Safari 2.0/Mac, a few samples display as intended.
- Internet Explorer 5.2/Mac, only a half dozen display as intended.
- Agreed - Is there any browser that does render these all correctly? If not, we can compile an image from different browsers that support different pieces of it... ~ Booya Bazooka 22:09, 4 August 2006 (UTC)
- I don't understand the intention of the big list labelled "there may be many other font families"—are these generic families supported by some browser? They certainly aren't in the HTML specification. It doesn't look like a list of common font faces either.
- Try searching w3.org for "font family" 220.127.116.11 01:56, 30 August 2006 (UTC)
References to 'you'
Insert non-formatted text here
"Font names must be quoted if containing whitespaces"
A simple test casts doubt on this claim. Edit the list of fonts at the bottom of the article and change 'Times New Roman', times, serif; to Times New Roman, monospace; (deleting the single quotes around the font name); then click Show preview. In Firefox I see a serif font, not monospace, and I bet that I would see the same thing in Internet Explorer. Putting quotes around whitespace-containing font names would make sense only if the list was separated by spaces instead of commas. Nevertheless, it is probably correct to say, "Official standards dictate that font names must be quoted if containing whitespaces, but this is not necessary in practice because the list of fonts is comma-separated and web browsers will correctly interpret the list if quotes are omitted." However, I will not change the article unless I can track down a source. --Keith111 (talk) 01:08, 24 July 2009 (UTC)
@Keith111, the w3c dictates this and is the authority on html & css, so... ( http://www.w3schools.com/cssref/pr_font_font-family.asp ) -- DocLeonard (talk) 04:19, 23 January 2012 (UTC)
A better test case to use would be Arial Black, if you have this font on your system. You can see that the text is indeed rendered in Arial Black rather than plain Arial, so the browser does not truncate the font name after "Arial", despite the font name not being enclosed in quotes in the inline CSS. --Keith111 (talk) 01:30, 24 July 2009 (UTC)
rotery regency cmputer instituteregd10189
Source of "Generic fonts"?
Is there a directory/vocabulary from which the fonts in the "Generic fonts" table are taken? They are not given in the W3C CSS2 Fonts specification. Martin de la Iglesia (talk) 10:22, 16 November 2011 (UTC)
There's something wrong with the type faces mentioned
Script and Modern appear differently in the two places they are mentioned. I don't feel comfortable editing the document.