In Html5 we can use "div" inside the "section" tag?

Can one use div inside the section block like below?

<section>
 <div>Text</div>
</section>

Answers


Yes you can use a div inside a section.

if you want know much more about div and section difference then you can refer below link.

explanation of div and section

i hop it will helpful to you.


yes of course

check div element can be nested inside the next HTML elements:

for any doubts check out the place in page section of each element; the list of nested elements is provided there


Need Your Help

Crash on std::cout string

c++ string crash

I'm getting a crash on runtime when trying to execute a simple program that cout's a string object, i'm using Borland C++ Compiler version 5.5 with the following code:

IOS HTML5 cordova app

javascript objective-c html5 cordova

We've created an HTML5 presentation app. What this app does is simply showing "slides" after each other. These slides are built with images and hotspots on it.