Chapter 18mChallenge

HTML Editors — Challenge

ਜਾਣੋ ਕਿ HTML Editor ਕਿਵੇਂ ਚੁਣਨਾ ਹੈ, ਆਪਣੀ ਪਹਿਲੀ HTML File ਕਿਵੇਂ ਬਣਾਉਣੀ ਹੈ, ਉਸਨੂੰ ਸਹੀ ਤਰੀਕੇ ਨਾਲ Save ਕਿਵੇਂ ਕਰਨਾ ਹੈ ਅਤੇ Browser ਵਿੱਚ ਆਪਣਾ Web Page ਕਿਵੇਂ ਦੇਖਣਾ ਹੈ।

This content is not yet available in pa. 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...