Chapter 18mChallenge

HTML Editors — Challenge

HTML Editor कसरी छनोट गर्ने, आफ्नो पहिलो HTML File कसरी बनाउने, सही तरिकाले Save गर्ने र Browser मा Web Page कसरी हेर्ने भन्ने कुरा सिक्नुहोस्।

This content is not yet available in ne. Showing English version.

View in English →

Create a basic HTML file

easy

Write the basic HTML document structure using <!DOCTYPE html>, <html>, <head>, and <body> tags.

Test cases (4)
1 · doctype
expected: <!DOCTYPE html>
2 · html_structure
expected: <html>
3 · head_element
expected: <head>
4 · body_element
expected: <body>
Hint
A basic HTML document starts with <!DOCTYPE html> and contains <html>, <head>, and <body> elements. The head stores document information, while the body contains visible page content.
html
Loading editor...