Skip to main content
Free tutorial

HTML Basic

Read the explanation, study the example, and practice at your own pace.

In this chapter, we will demonstrate some basic HTML examples.

HTML Documents

Every HTML document should open with the document type declaration <!DOCTYPE html>.
The document proper is wrapped in an <html> element, from the opening <html> tag to the closing </html> tag.
Everything displayed on the page sits between the <body> and </body> tags.

Enjoyed this? Share it
Optional resources

Apps you may find useful