. What is the purpose of the <!DOCTYPE> declaration?

Answer Posted / glibwaresoftsolutions

It specifies the HTML version used in the document, helping browsers render the page correctly. Example: <!DOCTYPE html> declares HTML5.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe the usage of

,
,
, and
html5 semantic elements.

609


What are the different types of that are available?

593


What is descriptive list?

591


How do you set a viewport scale?

602


What is the relation between xhtml and css?

605


What is the difference between SVG and ?

686


What is bulleted and numbered lists?

623


What is difference between b and br tag?

590


How many types of heading does an html contain?

1110


What is html syntax?

622


What is the lifetime of local storage?

647


How to handle events with dhtml?

606


What is an html file?

677


Is img a self closing tag?

614


Is body tag necessary in html?

560