47.4k views
3 votes
30 POINTS! PLEASE ANSWER QUICK!!!

When coding in html, do you put
<html
> or
<!DOCTYPE html
> first?
Does it matter?

1 Answer

3 votes

Answer:

your doctype comes first.

Step-by-step explanation:

The first thing you should make sure to have in any HTML document you create is a "document type definition (DTD)" declaration.

it defines what elements and attributes are allowed to be used in a certain flavor of HTML

User ZSkycat
by
5.0k points