Chapter 010mChallenge
HTML Introduction — Challenge
HTML ག་ཅི་ཨིན་ན། HTML Elements ག་དེ་སྦེ་ལཱ་འབདཝ་ཨིན་ན། དེ་ལས་ དཔེ་དང་སྦྱོང་ལཱ་འཇམ་ཏོང་ཏོ་ཚུ་ལག་ལེན་འཐབ་སྟེ་ ཁྱོད་རའི་དང་པ་ཨིན་པའི་ HTML Document ག་དེ་སྦེ་བཟོ་དགོཔ་ཨིན་ན་སྦྱོང་།
This content is not yet available in dz. Showing English version.
View in English →Create a basic HTML document
easyWrite a basic HTML5 document with <!DOCTYPE html>, <html>, <head>, and <body> elements. Set the page title to "My Website" using the <title> element.
Test cases (1)
1 · document_structure
expected: <!DOCTYPE html>
<html>
<head>
<title>My Website</title>
</head>
<body>
</body>
</html>
Hint
A basic HTML5 document starts with <!DOCTYPE html>. The <html> element contains the document, <head> contains metadata such as the page title, and <body> contains visible page content.
html
Loading editor...