Welcome Guest, Not a member yet? Register   Sign In
Your thoughts on best way to layout news articles.
#3

[eluser]Burgestrand[/eluser]
Uh… by titles you mean headlines? There's already a tag for that, h1 up to h6. By body you mean article contents? What does an article contain? Paragraphs. Now if there only was a ta- wait, <p>!

Code:
<h2>Title 1</h2>
<p>*content*</p>
<p>*content*</p>
<p>*content*</p>
<h2>Title 2</h2>
<p>*content</p>
… and so on.

There's lots of tags. They all have their proper usage area. Semantic coding is the way of marking up your documents' content logically. It's the next thing to get used to after moving to CSS from tables.


Messages In This Thread
Your thoughts on best way to layout news articles. - by El Forum - 02-02-2009, 03:31 PM
Your thoughts on best way to layout news articles. - by El Forum - 02-02-2009, 06:21 PM
Your thoughts on best way to layout news articles. - by El Forum - 02-03-2009, 01:47 AM
Your thoughts on best way to layout news articles. - by El Forum - 02-03-2009, 02:46 AM



Theme © iAndrew 2016 - Forum software by © MyBB