Creating HTML Document

HTML document has the head and body part. In the head, add the documentā€™s information and in the body, add the content.

An HTML document/ web page begins with the following declaration,

The head part comes under,

The body part comes under,

The following is an example of an HTML document,

Code

Output

Create an HTML document

In the above example, we have used the paragraph tag to add content under the <body></body> content.

More Examples


HTML5 Online Quiz1
Creating headings in HTML web page
Studyopedia Editorial Staff
contact@studyopedia.com

We work to create programming tutorials for all.

No Comments

Post A Comment

Discover more from Studyopedia

Subscribe now to keep reading and get access to the full archive.

Continue reading