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 complete HTML web page
easyCreate a complete HTML document using <!DOCTYPE html>, <html>, <head>, and <body> elements. Set the page title to "My First Website" using the <title> element. Inside the <body>, add an <h1> heading displaying "Hello World" and a <p> paragraph displaying "This is my first web page."
Test cases (4)
1 · doctype
expected: <!DOCTYPE html>
2 · page_title
expected: <title>My First Website</title>
3 · main_heading
expected: <h1>Hello World</h1>
4 · paragraph
expected: <p>This is my first web page.</p>
Hint
A complete HTML page uses <!DOCTYPE html> to declare the document type. The <title> element inside <head> sets the browser tab title. The <h1> and <p> elements inside <body> display the page heading and paragraph.
html
Loading editor...