Bootstrap html4 or html5 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Bootstrap html4 or html5

Is Bootstrap supposed to be used in html4 or html5? The main tutorial on here states that bootstrap is designed to be used in html5, but the bootstrap tutorials that follow it use the <div> element. Isn't <div> only for html? I'm confused.

14th Apr 2018, 1:57 PM
Bryce
Bryce - avatar
3 Answers
+ 9
Bootstrap uses <nav> tag that came with html5. But you can change it to <div> tag if you want. <div> tag is in all html versions.
14th Apr 2018, 2:02 PM
Toni Isotalo
Toni Isotalo - avatar
+ 3
Bootstrap Uses <nav> tag in HTML 5.But if you don't want to use <nav> tag, You can use <div> tag. - <div> tag is common for all HTML'S.
14th Apr 2018, 3:12 PM
Rahil Mavani
Rahil Mavani - avatar
14th Apr 2018, 3:35 PM
Raj Chhatrala
Raj Chhatrala - avatar