Chapter 18mChallenge
HTML Editors — Challenge
HTML Editor ག་དེ་སྦེ་གདམ་ཁ་རྐྱབ་ནི་ཨིན་ན། ཁྱོད་རའི་ HTML File དང་པ་ག་དེ་སྦེ་བཟོ་ནི་ཨིན་ན། འདི་ཚུ་ག་དེ་སྦེ་ Save འབད་ནི་ཨིན་ན། དེ་ལས་ Browser ནང་ Web Page ག་དེ་སྦེ་བལྟ་ནི་ཨིན་ན་སྦྱོང་།
This content is not yet available in dz. 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...