codegurukool.com · Free coding tutorials & online compiler

Home › HTML Tutorial › HTML basic

HTML basic

The skeleton every page shares.

<!DOCTYPE html> declares HTML5. html wraps the page, head holds information about it, and body holds what people see.

Example code

<!DOCTYPE html>
<html>
<head><title>Skeleton</title></head>
<body><p>Visible content</p></body>
</html>'

Run this code in the online editor

← HTML editorsHTML elements →