SitePoint Sponsor |
|
User Tag List
Results 1 to 6 of 6
Thread: Use of the <small> tag
-
Sep 11, 2006, 11:59 #1
- Join Date
- Jun 2004
- Location
- Harrisburg
- Posts
- 65
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Use of the <small> tag
I've never used the small tag before. But I started a new job towards the end of a complete site re-design project and found that this tag is used in a few areas.
Code:<small>small text</small>
The W3C says that the <small> tag renders the text in a small font. That leaves a lot of room for error.
Small tag on W3C
I'm thinking that using the <small> tag isn't such a great idea and that I should probably style these instances with CSS instead. Does anyone have any input on the use of the <small> tag?
-
Sep 11, 2006, 15:40 #2
- Join Date
- Jul 2003
- Location
- Melbourne, Australia
- Posts
- 579
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by dziner
Regards,
Jordan
-
Sep 11, 2006, 17:29 #3
- Join Date
- Dec 2003
- Location
- Cheltenham, United Kingdom
- Posts
- 692
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
1) It's not a tag, it's an element.
2) You can control the way it renders text using CSS, same as any other element. It doesn't take much effort to make it render the same across most browsers.
3) Jordan's right, it carries virtually no semantic meaning, so I'd avoid it unless you really need it.Olly Hodgson
thinkdrastic.net
-
Sep 11, 2006, 22:07 #4
- Join Date
- Nov 2004
- Location
- Ankh-Morpork
- Posts
- 12,158
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Someone (Jukka Korpela?) suggested that we could use the SMALL element as the opposite of EM; i.e., to de-emphasise something. If not, it's purely presentational and should be replaced with CSS.
Originally Posted by gnarly
Birnam wood is come to Dunsinane
-
Sep 12, 2006, 08:01 #5
- Join Date
- May 2006
- Posts
- 399
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
use EMs instead.
-
Sep 12, 2006, 08:43 #6
- Join Date
- Mar 2002
- Location
- northern MI
- Posts
- 1,392
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by AutisticCuckoo
Bookmarks