+ 2
What if I miss a tag
I'm new. I just start learning HTML. I tries wrote a page but missing tags like: <html>, </p> or didnt put title rag between head tag. But it seems like there is no problem. I want to ask what problems that I may have when I miss tags. FYI, I only use html, head, body, text font, heading.
5 odpowiedzi
+ 3
Yes. That has to do with how browsers implemented the standards of HTML.
HTML5 standard made that official.
BUT, best practice is to use <!doctype html>, <html>, <head>, <meta charset='...'>, <body>, <title> tags.
And when you are doing a serious web page I sugest you use them.
+ 1
There were many version of HTML before. If you want your to be treated like HTML5 by the browsers you should use <!DOCTYPE html> before the <html> tag.
The 'meta' is used to declare, well meta information about your page. It is used inside the <head> tag. It is a good practice to declare the character set that your page uses and some browser will expect it. The more common is 'utf-8'. You can declare it like this: <meta charset='utf-8'>.
+ 1
I understand now. I appreciate your help. Thank you so much, Ulisses Cruz
0
Thank you, Ulisses Cruz. But there are some I dont know in your answer: <!doctype html>, <meta charset='...'> tags. I dont know those tags.
0
If your question was answered mark the correct answer, please.