0
Silly confusion in HTML
I'm learning HTML for flask framework. My question is - are html and head tags necessary for every webpages? Can we create a webpage without these two?
1 Réponse
+ 3
Use
1. The <head> element is a container for metadata (data about data) and is placed between the <html> tag and the <body> tag.
2. The <body> element contains all the contents of an HTML document, such as text, hyperlinks, images, tables, lists, etc.
3. The HTML <html> tag is the container for all other HTML elements except for the <!DOCTYPE html> tag, which is located before the opening <html> tag. All other HTML elements are nested between the <html> and </html> tags.
But if u write your code without these tags the code will work
And the browsers will automatically give u these tag