Chapter 18mChallenge
HTML Editors — Challenge
HTML Editor එකක් තෝරා ගන්නේ කෙසේද, ඔබේ පළමු HTML File එක සාදා ගන්නේ කෙසේද, එය නිවැරදිව Save කරන්නේ කෙසේද සහ Browser එකකින් Web Page එක බලන්නේ කෙසේද යන්න ඉගෙන ගන්න.
This content is not yet available in si. 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...