HTML & HTML5 For Dummies: The Simplified Beginner's Guide To Learn HTML (HTML, HTML5, HTML and CSS) by Karnan son
Author:Karnan son
Language: eng
Format: mobi
Published: 2018-06-18T23:00:00+00:00
Test it Now
Here you see that we are using two elements, the head tag and the title tag. The whole title element is within the head tag.
The head element which appears before body element just contains the information about the page but it doesn't display on the browser window. So, to display a title name on the web page, title element is used.
If you look at the above example, you will see that "First web page" will be displayed on the tab/ title bar of the browser. Content(text) between <title>.............</title> is shown on the title bar.
Doctype HTML
On the HTML document you have often seen that there is a <!DOCTYPE html> declaration before the <html> tag. This <!DOCTYPE html> declaration is not an HTML tag. It is used to instruct the web browser about the HTML page.
Actually, there are many type of HTML e.g. HTML 4.01 Strict, HTML 4.01 Transitional, HTML 4.01 Frameset, XHTML 1.0 Strict, XHTML 1.0 Transitional, XHTML 1.0 Frameset, XHTML 1.1 etc.
The <!DOCTYPE> declaration refers Document Type Declaration (DTD) in HTML 4.01; because HTML 4.01 was based on SGML. But HTML 5 is not SGML based language.
DTD defines the rules for the markup languages so that the browsers recognize the content correctly.
The doctype declaration differs between HTML versions. The HTML 5 doctype declaration is given below.
<!DOCTYPE html>
Let's see an example of HTML document with doctype declaration.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Deep Learning with Python by François Chollet(12645)
Hello! Python by Anthony Briggs(9948)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9825)
The Mikado Method by Ola Ellnestam Daniel Brolund(9814)
A Developer's Guide to Building Resilient Cloud Applications with Azure by Hamida Rebai Trabelsi(9716)
Dependency Injection in .NET by Mark Seemann(9369)
Hit Refresh by Satya Nadella(8856)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8334)
The Kubernetes Operator Framework Book by Michael Dame(7943)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7811)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7791)
Exploring Deepfakes by Bryan Lyon and Matt Tora(7732)
Grails in Action by Glen Smith Peter Ledbrook(7722)
Practical Computer Architecture with Python and ARM by Alan Clements(7674)
Implementing Enterprise Observability for Success by Manisha Agrawal and Karun Krishnannair(7642)
Robo-Advisor with Python by Aki Ranin(7628)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7592)
Building Low Latency Applications with C++ by Sourav Ghosh(7519)
Svelte with Test-Driven Development by Daniel Irvine(7496)
