| | : [[HTML]] is supposed to be used for ''semantic'' markup, i.e. to indicate things like headings, paragraphs, lists, and quotes. [[CSS]] is supposed to be used for ''formatting'' markup, i.e. to indicate that headings are large bold text, quotes are indented, etc. HTML didn't originally cater for CSS, and so it has code to provide formatting as well (and this is still useful in places that don't accept CSS markup, such as some web-based editing boxes, response forms, etc.), but the "proper" way to do formatting is with CSS, not HTML. The {{tt|<nowiki>style=</nowiki>}} parameter in HTML tags is a way of putting CSS markup directly in the code (CSS markup is normally in a separate file). It doesn't have to be {{tt|<nowiki><span></nowiki>}}, but that is probably the best one if nothing else is already available (e.g. {{tt|<nowiki><div></nowiki>}}). Also, in many cases CSS provides more options that HTML, although there are a few things which HTML is still better at. [[User:Philip J. Rayment|Philip J. Rayment]] 23:56, 5 May 2008 (EDT) | | : [[HTML]] is supposed to be used for ''semantic'' markup, i.e. to indicate things like headings, paragraphs, lists, and quotes. [[CSS]] is supposed to be used for ''formatting'' markup, i.e. to indicate that headings are large bold text, quotes are indented, etc. HTML didn't originally cater for CSS, and so it has code to provide formatting as well (and this is still useful in places that don't accept CSS markup, such as some web-based editing boxes, response forms, etc.), but the "proper" way to do formatting is with CSS, not HTML. The {{tt|<nowiki>style=</nowiki>}} parameter in HTML tags is a way of putting CSS markup directly in the code (CSS markup is normally in a separate file). It doesn't have to be {{tt|<nowiki><span></nowiki>}}, but that is probably the best one if nothing else is already available (e.g. {{tt|<nowiki><div></nowiki>}}). Also, in many cases CSS provides more options that HTML, although there are a few things which HTML is still better at. [[User:Philip J. Rayment|Philip J. Rayment]] 23:56, 5 May 2008 (EDT) |
| | + | I've just added a sizable section on wiki variables. However, since this page is aimed at the basics, I don't really think variables belong here. Does anyone have suggestions where to put them, or what to title a new page about them? Thanks! --[[User:DavidB4|<font color="ForestGreen">David B</font>]] <sup>([[User talk:DavidB4|TALK]])</sup> 22:11, 25 March 2017 (EDT) |