HTML Code Notes English Codewithankit
HTML Code Notes English Codewithankit
1. <!DOCTYPE html>
Declares the document as HTML5. Helps the browser understand HTML syntax.
2. <html>...</html>
Wraps the entire HTML content. It marks the beginning and end of an HTML document.
3. <head>...</head>
Contains metadata like the title, CSS links, and scripts. Not shown on the page.
5. <body bgcolor="pink">
Contains everything visible on the page. 'bgcolor' sets the background color.
6. <center>...</center>
8. <marquee>...</marquee>
9. <hr>