why "<html>" is red in colour ?? in "view source"
<html> <head> <title> Hello</title> </head> <body> Hello World </body> </html>
Red is the color they use for HTML. Its normal.
Because the tags change color to indicate if things are the way they are supposed to be. Make sure all opening tags have closing tags. In the middle of typing, things may change color to indicate that you are missing closing tags until you type them or if you have a typo.
But if I write <!DOCTYPE html> then <html> become blue in colour in "view source" ? Reason behind this ?