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?

6th Sep 2021, 12:50 AM
Florida Miami (Floridan)
Florida Miami (Floridan) - avatar
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
6th Sep 2021, 2:07 AM
Pariket Thakur
Pariket Thakur - avatar