Chapter 210mChallenge
HTML Basic — Challenge
Headings, Paragraphs, Links, Images, Buttons, Attributes ਅਤੇ ਪੂਰੇ HTML Pages ਦੀਆਂ ਵਿਹਾਰਕ ਉਦਾਹਰਨਾਂ ਰਾਹੀਂ ਬੁਨਿਆਦੀ HTML ਸਿੱਖੋ।
This content is not yet available in pa. Showing English version.
View in English →Build a complete HTML page
challengeCreate 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...