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 basic HTML file

easy

Write the basic HTML document structure using <!DOCTYPE html>, <html>, <head>, and <body> tags.

Test cases (4)
1 · doctype
expected: <!DOCTYPE html>
2 · html_structure
expected: <html>
3 · head_element
expected: <head>
4 · body_element
expected: <body>
Hint
A basic HTML document starts with <!DOCTYPE html> and contains <html>, <head>, and <body> elements. The head stores document information, while the body contains visible page content.
html
Loading editor...