Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
How to create a valid HTML document with no <html><body> and <head> element?
With HTML, the essentials are doctype declaration,
and . But, you will be amazed to know that a valid HTML document can work without the and element. The doctype declaration will come always since it tells and instructs the browser about what the page is about.
Let?s see an example; here we won?t use the html>
and element. Still, the HTML Document is valid and will work correctly like any other valid HTML Document ?Title of the page This is heading 1
This is heading 2
This is a paragraph.
Advertisements
