+ 5

HTML compatibilty of older version with newer version

We say that many tags that were supported in HTML4 are deprecated in HTML5. After the updation of html version, What i think is in doctype we will specify HTML4. But what if i want to include some features to my website which are not supported by the older version. Does that mean I will need to update the tags like bgcolor to background-color or is there a way to make the old written websites compatible with the newer version without having to make any changes?

17th Jul 2018, 12:40 PM
Oshin Bajaj
Oshin Bajaj - avatar
4 Answers
+ 3
While exploring I myself got this answer. Anybody else want to know? You can check this: https://www.w3schools.com/html/html5_migration.asp :)
21st Jul 2018, 4:26 PM
Oshin Bajaj
Oshin Bajaj - avatar
+ 9
In my opinion, you sbould use HTML5 as it has a lot of new and shorter tags such as: header nav footer section
17th Jul 2018, 1:29 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 4
I think we should use newer version because it not only introduce new tags but also make developing website a lot easier. Coming to your query , I think majority of useful tags of older version are still there in newer version and if there are some ( which are not supported ) it not makes development any difficult. Hope this helps â˜șâ˜ș.
17th Jul 2018, 1:39 PM
Meet Mehta
Meet Mehta - avatar
+ 4
okay.. thanks a lot 😊
17th Jul 2018, 2:29 PM
Oshin Bajaj
Oshin Bajaj - avatar