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