Yes, follow this approach −
- Move to the HTML5 doctype − <!DOCTYPE html>
- Use <div> or even the new elements like <section>
- Or the newer HTML5 tags <video> or <audio>, you can still use the outdated <object> tag.
- The controls have backward compatibility too. The <input type="email"> works the same as <input type="text"> in browsers that do not support it.
However, if you are working t for legacy Internet Explorer, then use html5shiv. It enables the use of HTML5 sectioning elements in legacy Internet Explorer.