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 →Apply what you've learned. Each challenge includes starter code and test cases.
Create an HTML heading
easyWrite HTML Code to display a Heading using <h1>.
<h1></h1>Create a paragraph
easyWrite an HTML <p> element containing the text "Learning HTML".
<p></p>Create a link
easyCreate an <a> element linking to https://www.example.com with the text "Example Website".
<a href=""></a>Create two paragraphs
easyCreate two separate Paragraphs.
<p></p>
<p></p>Add an image with alt text
easyWrite an <img> element with src="logo.png" and alt="Company logo".
<img src="" alt="">Create a hyperlink
mediumCreate a Link that navigates to https://www.example.com.
<a href=""></a>Add an image with alternative text
mediumAdd an Image with meaningful alt Text.
<img src="" alt="">Create a thematic break
easyWrite the HTML element that inserts a thematic break.
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.
<!DOCTYPE html>
<html>
<head><title></title></head>
<body>
</body>
</html>Create a button
easyCreate a <button> element displaying the text "Submit".
<button></button>