What does the DOCTYPE declaration defines in HTML code example
Example 1: html doctype declaration
<!DOCTYPE html>
<!--Use the html tag too, under the declaration. -->
Example 2: doctype html
<!DOCTYPE html>
it lets the browser know about the version of HTML you
are using.but it is not nessesary
since your browser will render it anyways