Here you will see how the basic html document structure looks like. The page includes a doctype declaration with a html, head, title and body element.
Doctype tells the browser what version oh html is using in the document.
For latest version html5 it is written as <!DOCTYPE html>
Read Also: HTML Forms
The other elements are:
html: Everything is wrtten between html tags.
head and title: In head tag we can put any javascript, css, meta words etc. Between title tag we used to show page title.
body: Here text, images, form, tables are used.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Untitled Document</title> </head> <body> ... </body> </html>
The coronavirus outbreak has drastically changed the way we live our lives. Yes, that's absolutely…
Sales and marketing teams help attract, convert, and retain customers to ensure an organization’s long-term…
Are you an owner of a small business who’s trying to come up with ways…
Introduction When patients bring me their lab reports, the confusion is almost always the same.…
Are you excited about remodeling your house after a long time? Perhaps if you're planning…
The practice of yoga teaches us to be present, patient and mindful of our decisions.…