Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

unit 2 - challenge 2.2: introduction to html 1 - html document structur…

Question

unit 2 - challenge 2.2: introduction to html
1 - html document structure
learning objective: identify the correct structure of an html file and the function of attributes.
which syntax is used to declare that a document is using html5?
a.) <!doctype html>
b.) <!doctype html5>
c.) <#doctype html>
d.) <#doctype html5>

Explanation:

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>