Atlante Avila Atlante Avila - 1 month ago 18
HTML Question

Weird interview request: Improve the html

So I got a weird interview question that I didn't know how to answer. The guy just said: Improve the html:

<div class="header"></div>
<div class="main"></div>
<div class="footer"></div>


Any feedback? All I could think of is use HTML5 , and tags. But I got no response and no feedback. What the heck was I supposed to do with that? I sometimes can't stand dev interviews meh!

Thanks for your feedback!

Answer

The answer is probably supposed to be using the new HTML5 tags:

<header></header>
<main></main>
<footer></footer>

...but it depends on browser support.