Correct structure?

S

Samuël van Laere

Is it ok to use a structure like this?

<H1>Title</H1>
<P>Forword bla bla</P>
<H2>Why the bla bla?</H2>
<P>Lots of bla bla etc.</P>

Or should i use something else between <H1> and <H2> to be used as a forword
?
 
E

Eric Bohlman

Is it ok to use a structure like this?

<H1>Title</H1>
<P>Forword bla bla</P>
<H2>Why the bla bla?</H2>
<P>Lots of bla bla etc.</P>

Or should i use something else between <H1> and <H2> to be used as a
forword ?

That structure's fine. You might hang a class attribute on the foreword
(wrapping it in a div if there's more than one paragraph) to make it easier
to style the foreword differently from the rest of the content should that
need arise.
 
S

Samuël van Laere

Eric Bohlman said:
That structure's fine. You might hang a class attribute on the foreword
(wrapping it in a div if there's more than one paragraph) to make it easier
to style the foreword differently from the rest of the content should that
need arise.


Thanks Eric,

Now i can carry on.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,015
Latest member
AmbrosePal

Latest Threads

Top