Click here to Skip to main content
15,891,951 members
Home / Discussions / Web Development
   

Web Development

 
GeneralDefault Virtual Directory on Plesk Pin
Brady Kelly6-Oct-08 7:07
Brady Kelly6-Oct-08 7:07 
Questionpersist.canvas.drawpng please help me! [modified] Pin
kursadakici5-Oct-08 7:24
kursadakici5-Oct-08 7:24 
AnswerRe: persist.canvas.drawpng please help me! Pin
Ashfield7-Oct-08 3:48
Ashfield7-Oct-08 3:48 
QuestionSetting the colourt of text Pin
Brendan Vogt5-Oct-08 6:39
Brendan Vogt5-Oct-08 6:39 
AnswerRe: Setting the colourt of text Pin
NeverHeardOfMe5-Oct-08 6:56
NeverHeardOfMe5-Oct-08 6:56 
QuestionRe: Setting the colourt of text Pin
Brendan Vogt5-Oct-08 7:28
Brendan Vogt5-Oct-08 7:28 
AnswerRe: Setting the colourt of text Pin
NeverHeardOfMe5-Oct-08 7:50
NeverHeardOfMe5-Oct-08 7:50 
AnswerRe: Setting the colourt of text Pin
Shog95-Oct-08 11:25
sitebuilderShog95-Oct-08 11:25 
The reason <font> is considered outdated is it tells you what (text is being formatted with a specific font, color...) but not why (text is being emphasized? de-emphasized? used to represent something specific, like a keyword, abbreviation, action...).

Generally, you should use a tag that most closely fits your intentions for the text: <p>, <em>, <strong>, <cite>, <code>, etc. If none of the standard semantic tags come close, use <span> for inline text, <div> for block text. When using span or div, or when you need to differentiate between multiple uses of another tag (different sorts of emphasis, code...), use CSS class names to specify your intentions: <em class="warning">; <div class="note">. Then, in your stylesheet, write rules against these elements and classes to provide the actual formatting:
em.warning { color: yellow; }
div.note { border: 1px solid black; padding: 2em; background-color: yellow; }



----
You're right.
These facts that you've laid out totally contradict the wild ramblings that I pulled off the back of cornflakes packets.

Jokeweb development Pin
ranjaabhishek4-Oct-08 22:47
ranjaabhishek4-Oct-08 22:47 
GeneralRe: web development Pin
Tamimi - Code4-Oct-08 23:12
Tamimi - Code4-Oct-08 23:12 
GeneralRe: web development Pin
ranjaabhishek5-Oct-08 4:32
ranjaabhishek5-Oct-08 4:32 
GeneralRe: web development Pin
Jaffer Mumtaz5-Oct-08 2:42
Jaffer Mumtaz5-Oct-08 2:42 
GeneralRe: web development Pin
ranjaabhishek5-Oct-08 4:30
ranjaabhishek5-Oct-08 4:30 
GeneralRe: web development Pin
leckey5-Oct-08 14:30
leckey5-Oct-08 14:30 
Questionjavascript work in firefox but not in ie Pin
UD(IA)4-Oct-08 4:51
UD(IA)4-Oct-08 4:51 
AnswerCP IGNORE: Cross posted (3 forums) and habitually reasks questions Pin
leckey4-Oct-08 6:02
leckey4-Oct-08 6:02 
Questionfunction Pin
rose1963-Oct-08 21:48
rose1963-Oct-08 21:48 
AnswerRe: function Pin
Johnny ²3-Oct-08 22:30
Johnny ²3-Oct-08 22:30 
QuestionMailto protocol Pin
Member 44839223-Oct-08 11:55
Member 44839223-Oct-08 11:55 
AnswerRe: Mailto protocol [modified] Pin
Scott Barbour3-Oct-08 12:15
Scott Barbour3-Oct-08 12:15 
GeneralRe: Mailto protocol Pin
Shog94-Oct-08 7:12
sitebuilderShog94-Oct-08 7:12 
AnswerRe: Mailto protocol Pin
Shog94-Oct-08 7:22
sitebuilderShog94-Oct-08 7:22 
QuestionRemote Scripting with out using Ajax in c#.net Pin
AnilJayanti3-Oct-08 0:44
AnilJayanti3-Oct-08 0:44 
QuestionRe: Remote Scripting with out using Ajax in c#.net Pin
led mike3-Oct-08 5:56
led mike3-Oct-08 5:56 
QuestionRe: Remote Scripting with out using Ajax in c#.net Pin
AnilJayanti6-Oct-08 19:20
AnilJayanti6-Oct-08 19:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.