Creating sections | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 2

Creating sections

First I have no started any learning of CSS or JS yet. I want to know is it wrong to use <article> or <section> vs. <div>. Secondly I am trying to section off my sections in my blog and I am having trouble. . <section align= "left"> <h1><font color = "#fa58d0">News & Events</font></h1> <article> </article> </section> <!-- I do not want this to flow with the rest of the webpage-->

5th Feb 2018, 5:33 PM
HtagPro
HtagPro - avatar
1 Resposta
+ 1
I think <div> might be the best option. I can't remember why, but I think it is better than <article> or < section>. Correct me if I'm wrong.
5th Feb 2018, 9:15 PM
Robyn A
Robyn A - avatar