template two col banner


Article Heading This section is basically an expansion on the humble paragraph break - <p>. <div> is similar except that it doesn't put a double linefeed before te text - it's kind of like <br> except that it has a beginning and end, and so can have attributes like alignment. <span> on the other hand doesn't put any linefeeds in at all, and so you can operate on areas of text inside a paragraph or sentence; it does mean you can't give it an alignment attribute. The three attributes you can add to this section are alignment, foreground colour and background colour. You can only have all of these attributes in XHTML mode however. Plain HTML browsers cannot handle background colours, and foreground colours are handled using <font color...> tags; this means the <span> tag doesn't work at all in HTML mode as without backgrounds and alignment it would just be replicating font tags which are already handled on the Effects window. WML mode is of course even more restricted, to just paragraphs with alignment. Alignment is pretty much as you'd expect - left align, which is usually the default for all browsers, puts the text aligned to the left hand side (as with most of this document. If you have a page or table cell that's aligned some other way though you might need to set align=left to make the text look "normal". This section is basically an expansion on the humble paragraph break - <p>. <div> is similar except that it doesn't put a double linefeed before te text - it's kind of like <br> except that it has a beginning and end, and so can have attributes like alignment. <span> on the other hand doesn't put any linefeeds in at all, and so you can operate on areas of text inside a paragraph or sentence; it does mean you can't give it an alignment attribute. The three attributes you can add to this section are alignment, foreground colour and background colour. You can only have all of these attributes in XHTML mode however. Plain HTML browsers cannot handle background colours, and foreground colours are handled using <font color...> tags; this means the <span> tag doesn't work at all in HTML mode as without backgrounds and alignment it would just be replicating font tags which are already handled on the Effects window. WML mode is of course even more restricted, to just paragraphs with alignment. Alignment is pretty much as you'd expect - left align, which is usually the default for all browsers, puts the text aligned to the left hand side (as with most of this document. If you have a page or table cell that's aligned some other way though you might need to set align=left to make the text look "normal".

Wyszukiwarka

Podobne podstrony:
TemplatePart6
House M D [7x13] Two Stories
templateedit
Dworak Iwona Templariusze (5)
FREECHART template indd 1
DIY Mortis Dreadmought Plans & Templates
two variables
53 Blaszany świat utracił dwie ikony Brass world loses two icons Jan 4 14
email template product notification
template?min
template

więcej podobnych podstron