Category Archives: javascript

GCT-HTML5

Interview Questions : HTML

  • Can you place more than one <main> tags in your webpage

    Yes, this is possible and valid to put more than one main tag if content of your main tag is not clubbed with another main tag in a single view.

  • What would happen if DOCTYPE is not mentioned in your HTML document

    Though your page would render, but you would face problem in markup validation, and browser may choose to use Quirks Mode. This may also affect the way CSS renders.