HTML font id
- Started
- Last post
- 7 Responses
- epigraph
Excuse me for being out of the loop, but I have never seen this italics used on wikipedia before. According to Firebug it is just font family san-serif, and font style italic. Is that right?
Look at any italic on the page:
http://en.wikipedia.org/wiki/Hil…
- honestly0
yes. it is right.
- honestly0
the inline italics though. wrong. ewww
- honestly0
italics should be done with css in a class, if you look at the source it actually says <em>Word</em> which means the italics were hard coded into the body content.
not good.
and on second look, fuck me running!!! i can't believe wiki is covered in td th and actual tables etc. it's like 10 years ago all over again
- acescence0
so how would you add inline italics with a class? and how is this method of hard-coding italics into copy any different than using the semantically correct <em>?
- you make a good point, anything else would be heavier in terms of page weighthonestly
- what does <em> have to do with italics? Emphasize means make it italic?epigraph
- How can content degrade when basic formatting like italics etc is a class?ETM
- http://www.w3schools…honestly
- I know it;
's the standards compliant way, but goes against some common sense.ETM - Thanks for the w3c link. I'm not new to the game. But those are tags you're referencing, not classes.
ETM - ETM, i was answering epigraphs questionhonestly
- Sorry, looked like it was at me.
Cheers =)ETM - i hadn't seen your posts yet when i added the linkhonestly
- ETM0
You know, I agree with just about every improvement that CSS and separating layout from content brings except how we are supposed to address basic inline formatting line italics and bold type. They recommend classes over tags, and if you do use tags, we use <strong> and <em>. Not only is that heavier, in the case of italic and emphasis they technically mean different things, depending on the use case.
And if we separate that level of formating into classes, then the copy doesn't degrade keeping fundamental formatting intact.
- and although <strong> <em> etc are not yet deprecated, they will be in the future.ETM
- honestly0
considering the fact that the italics on that page is also a button, it could have been written into the button's class. however stating that you may want italics in your text without a hyperlink, i'd be interested to see how a span class degrades, i'm sure it would keep the copy in tact though it would lose its formatting characteristics.
i think i agree with that.
- epigraph0
Wow I had no idea what I was starting here.....