0% found this document useful (0 votes)
145 views

Practical No - 1 Basic HTML Tags

The document defines basic HTML tags such as <!DOCTYPE>, <html>, <head>, <title>, <body>, <h1> to <h6>, <p>, <br>, and <hr>. It provides a code example using these tags including a heading, paragraph with line breaks, and an unordered list. The code is then run to display the formatted output.

Uploaded by

Nitish Solanki
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
145 views

Practical No - 1 Basic HTML Tags

The document defines basic HTML tags such as <!DOCTYPE>, <html>, <head>, <title>, <body>, <h1> to <h6>, <p>, <br>, and <hr>. It provides a code example using these tags including a heading, paragraph with line breaks, and an unordered list. The code is then run to display the formatted output.

Uploaded by

Nitish Solanki
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

PRACTICAL NO :- 1

(13/02/2023)

BASIC HTML TAGS:-

Tag Description

<!DOCTYPE> Defines the document type

<html> Defines an HTML document

<head> Contains metadata/information for the document

<title> Defines a title for the document

<body> Defines the document's body

<h1> to <h6> Defines HTML headings

<p> Defines a paragraph

<br> Inserts a single line break

<hr> Defines a thematic change in the content

<!--...--> Defines a comment

CODE:-

<!DOCTYPE html>

<html>

<head>

<tittle>This is document tittle

</tittle>

<head>

<body>

<hr width="50/" align="centre" >

<h1> This is heading </h1>

<p>This<br> is a para <br> graph with .</p>

<ul> <li> BEETROOT </li>


<li> GINGER</li>

<li>POTATO</li>

</ul>

</body>

<html>

OUTPUT:-

You might also like