Just wondering, is there anything I can use instead of <div> when designing my page? I dont know how to use css or a java script =) Thanks in advance for giving an attention on my question. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Just wondering, is there anything I can use instead of <div> when designing my page? I dont know how to use css or a java script =) Thanks in advance for giving an attention on my question.

<div>

20th Oct 2016, 3:22 AM
Rodillo Pillio Gole Jr.
Rodillo Pillio Gole Jr. - avatar
3 Answers
+ 3
<div> is a very useful basic container, use it often. Html5 introduces a bunch of new tags that are specialized divs, like <header>, <footer>, etc.
20th Oct 2016, 9:29 PM
Zen
Zen - avatar
+ 1
I am agree whith Zen. But before using new elements like <article>, <header>, <section>, <nav> you shoud make them block in css file if you want they were like div which is a block element. So div is steel very actual for web-designers.
22nd Oct 2016, 12:26 PM
Дарья Стеценко
Дарья Стеценко - avatar
+ 1
Thank you for answering my question =)
23rd Oct 2016, 10:13 AM
Rodillo Pillio Gole Jr.
Rodillo Pillio Gole Jr. - avatar