Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

<div> for style

by jonadab (Parson)
on Aug 22, 2003 at 18:50 UTC ( #285890=note: print w/replies, xml ) Need Help??

in reply to My favorite HTML font style tag is...

I normally use <div>, but I voted <span>, which basically amounts to the same thing. The only other style tags I use with any regularity are <em>, <strong>, and <cite>. Of these, <strong> is the one I use most by far -- but not nearly as much as <div>. I do sometimes apply styles to other tags (<p> and <td> come to mind), but in those cases I'm not including the tag for the purpose of applying style (unless you count semantic things like paragraphitude as style, which I don't), so I don't think those count as style tags.

$;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}} split//,".rekcah lreP rehtona tsuJ";$\=$ ;->();print$/

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://285890]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2018-03-23 17:03 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (294 votes). Check out past polls.