178k views
4 votes
Explain the importance of using DOCTYPE html. Where in your document does this belong and what language will your browser assume it is made of?

User Tolure
by
5.0k points

1 Answer

2 votes

Answer:

The very first line in every web document should contain a <!DOCTYPE html> declaration. Even though it's wrapped in angle brackets, it is not a tag but a statement.

Doctype stands for Document Type Declaration. It informs the web browser about the type and version of HTML used in building the web document. This helps the browser to handle and load it properly.

your welcome

User Ankit Dubariya
by
5.3k points