unit 2 - challenge 2.2: introduction to html\n1 - html document structure\nlearning objective: identify the…

unit 2 - challenge 2.2: introduction to html\n1 - html document structure\nlearning objective: identify the correct structure of an html file and the function of attributes.\nwhich syntax is used to declare that a document is using html5?\na.) <!doctype html>\nb.) <!doctype html5>\nc.) <#doctype html>\nd.) <#doctype html5>
Answer
Brief Explanations:
In HTML5, the document - type declaration is used to define the type of the document. The correct syntax to declare that a document is using HTML5 is <!DOCTYPE html>. This is a standard way to tell the browser that the document follows the HTML5 specification.
Answer:
a. <!DOCTYPE html>