Priyankar (Pgm1)

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Priyankar Paul 1

29SCS124

Ex. No: 1
19/01/2011 PARAGRAPH ALIGNMENT
WITH IMAGES

Aim:
To create a HTML page which has a properly aligned paragraphs and images displayed along
with it.

Description:
The following html tags are used to align the paragraphs with images.

Paragraph tag:
The paragraph tag <p></p> is used to place paragraphs in your pages.

Paragraph attributes:
Attributes for paragraphs can be set using embedded, linked or inline style sheets.
P {font- family: Ariel, sans-serif; font-size: 10pt; font- weight: normal; text align: left; text-
indent: 1 em}

Images in HTML Pages :


The anchor tag is used to add images to a page:
<img src=”image-name”>
Priyankar Paul 2
29SCS124

Program:

<html>
<head>
<title>Paragraph</title>
</head>
<Body bgcolor="gold">
<Center><Img src="sathya.gif"></Center>
<p><h1>Addmission Procedure</h1></p>
<p>
<font face="Tunga" size="5" color="blue">
* Advertisements are given , regarding issue of Application forms for Common Entrance
Examination, important dates etc., in all leading newspapers all over India and also notified
in the Sathyabama University website.<br>
* Entrance Exam Application Form can be obtained inperson from the University
Administrative Office.<br>
* Entrance Examinations are conducted in major cities all over India.<br>
</font>
</p>
<p align="right">
<font face="verdana" size="2" color="white">
<b>Important Dates:-15/03/2011(last date of submitting of application)</b>
</font>
</p>
</body>
</html>
Priyankar Paul 3
29SCS124

Output:

Result:

Thus the HTML code for paragraph alignment with images has been done and its output
successfully verified.

You might also like