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 web page heading and paragraph

easy

Write an <h1> element displaying "Welcome to HTML" and a <p> element displaying "I am learning HTML." inside the <body> element.

Test cases (2)
1 · heading
expected: <h1>Welcome to HTML</h1>
2 · paragraph
expected: <p>I am learning HTML.</p>
Hint
The <h1> element displays the main heading of a page, while the <p> element displays a paragraph. Both elements should be placed inside the <body> element.
html
Loading editor...