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 →

Apply what you've learned. Each challenge includes starter code and test cases.

Create an HTML heading

easy

Write HTML Code to display a Heading using <h1>.

STARTER CODE
<h1></h1>
1 test cases
Start Challenge

Create a paragraph

easy

Write an HTML <p> element containing the text "Learning HTML".

STARTER CODE
<p></p>
1 test cases
Start Challenge

Create a link

easy

Create an <a> element linking to https://www.example.com with the text "Example Website".

STARTER CODE
<a href=""></a>
1 test cases
Start Challenge

Create two paragraphs

easy

Create two separate Paragraphs.

STARTER CODE
<p></p>
<p></p>
1 test cases
Start Challenge

Add an image with alt text

easy

Write an <img> element with src="logo.png" and alt="Company logo".

STARTER CODE
<img src="" alt="">
1 test cases
Start Challenge

Create a hyperlink

medium

Create a Link that navigates to https://www.example.com.

STARTER CODE
<a href=""></a>
1 test cases
Start Challenge

Add an image with alternative text

medium

Add an Image with meaningful alt Text.

STARTER CODE
<img src="" alt="">
1 test cases
Start Challenge

Create a thematic break

easy

Write the HTML element that inserts a thematic break.

1 test cases
Start Challenge

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.

STARTER CODE
<!DOCTYPE html>
<html>
<head><title></title></head>
<body>
</body>
</html>
1 test cases
Start Challenge

Create a button

easy

Create a <button> element displaying the text "Submit".

STARTER CODE
<button></button>
1 test cases
Start Challenge