Chapter 210mChallenge

HTML Basic — Challenge

Headings, Paragraphs, Links, Images, Buttons, Attributes සහ සම්පූර්ණ HTML Pages පිළිබඳ ප්‍රායෝගික උදාහරණ හරහා මූලික HTML ඉගෙන ගන්න.

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

View in English →

Build a complete HTML page

challenge

Create a complete HTML Page containing a Title, three Headings, three Paragraphs, one Link, one Image, one thematic break, and one Button.

Test cases (1)
1 · basic
expected: <!DOCTYPE html> <html> <head><title>My Page</title></head> <body> <h1>Heading One</h1> <h2>Heading Two</h2> <h3>Heading Three</h3> <p>First paragraph.</p> <p>Second paragraph.</p> <p>Third paragraph.</p> <a href="https://www.example.com">Visit Example</a> <img src="photo.jpg" alt="A description of the photo"> <hr> <button>Click Me</button> </body> </html>
Hint
Include the requested title, headings, paragraphs, link, image, thematic break (<hr>), and button in a valid HTML document.
html
Loading editor...