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>
In the business world, there’s no such thing as a new idea. The best we…
Both of these work. Both are difficult. And anyone telling you one is obviously better…
Digital marketing naturally focuses on online spaces. Businesses invest in social media, SEO, email campaigns,…
Introduction There is an increasing need for full-stack developers because companies want people who can…
Classic Russian literature holds a quiet power that still shapes stories today. Its voice feels…
Digital channels often get most of the attention in modern branding. A business can launch…