Chapter 010mChallenge

HTML Introduction — Challenge

HTML යනු කුමක්ද, HTML Elements ක්‍රියා කරන්නේ කෙසේද සහ සරල උදාහරණ හා පුහුණු අභ්‍යාස භාවිතයෙන් ඔබේ පළමු HTML Document එක සාදා ගන්නේ කෙසේද යන්න ඉගෙන ගන්න.

This content is not yet available in si. Showing English version.

View in English →

Create a basic HTML document

easy

Write 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...