0% found this document useful (0 votes)
20 views1 page

HTML Basics for Django Learners

The document discusses various HTML tags including the <head>, <title>, <h1-h6> heading tags, and <p> paragraph tag. It provides examples of using a single <p> tag to contain multiple lines of text in a single paragraph versus using separate <p> tags to create distinct paragraphs over multiple lines. The document also shows how content within <p> tags can be on separate lines without closing the tag.

Uploaded by

ROHIT JAIN
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views1 page

HTML Basics for Django Learners

The document discusses various HTML tags including the <head>, <title>, <h1-h6> heading tags, and <p> paragraph tag. It provides examples of using a single <p> tag to contain multiple lines of text in a single paragraph versus using separate <p> tags to create distinct paragraphs over multiple lines. The document also shows how content within <p> tags can be on separate lines without closing the tag.

Uploaded by

ROHIT JAIN
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

HTML Comment:

<!-- Anything here is considered as Comment -->

Title:

1) <head>
2) <title>Basic HTML for DJango Classes</title>
3) </head>

Heading Tags:
HTML supports 6 heading tags
<h1>,<h2>,....

<h1>This is Heading1</h1>

Paragraph tag: <p>:


We can use this tag to represent paragraph of text.
<p> This is first paragraph </p>

case-1:

1) <p>This is First Line


2) This is Second Line
3) This is Third Line
4) This is Four Line
5) </p>

Total Data will come in a single line, because we are using only one paragraph tag.

Case-2:

1) <p>This is First Line</p>


2) <p>This is Second Line</p>
3) <p>This is Third Line</p>
4) <p>This is Fourth Line</p>

Output will come in 4 lines

case-3:
<p>This is First Line</p><p>This is Second Line</p>

output will come in multiple lines

nd
DURGASOFT, # 202, 2 Floor, HUDA Maitrivanam, Ameerpet, Hyderabad - 500038,
5  040 – 64 51 27 86, 80 96 96 96 96, 92 46 21 21 43 | www.durgasoft.com

You might also like