Create Web page using structure tags to display sample message

 

1st Practical/Experiment of WPD 

Title:         Create Web page using structure tags to display sample message.

Resources required:     

Software  :   Notepad, Browser, Internet, Compiler. 
Hardware :   Computer, etc.

Theoretical Background : 

 Use of Structure Tags used in this program :

      Structure Tag

                   Description

<!DOCTYPE>

This is a declaration to show the document type; it helps the web browser to display the webpage correctly

<title> </title>

This defines the title of the webpage, to be displayed on the tab of a web browser

<html> </html>

This shows the start and end of the HTML file

<head> </head>

This gives information about the file (metadata)

<body> </body>

This defines the main body; everything within the body tags appears on the webpage

<h1> </h1>

This defines a heading; <h1> to <h6> tags are used for different-sized headings, with <h1> the largest and <h6> the smallest

<p> </p>

This defines a paragraph








































Program Title: 

 Create Web page using structure tags to display sample message.

Program Code: 

<!DOCTYPE html> 
<html> 
<head> 
<title>Government Polytechnic Amravati</title> 
</head> 
<body> 
<h1>HTML Stucture Tag</h1> <hr><hr>
<h2>Create web page using structure tag to display sample message</h2> 
<!---<h4>Use of HTML tag used in this Program </h4>--->
<p>
 <u><b>What is a paragraph?</b></u> <br><br>

Paragraphs are the building blocks of papers. Many students define paragraphs in terms of length: a paragraph is a group of at least five sentences, a paragraph is half a page long, etc. In reality, though, the unity and coherence of ideas among sentences is what constitutes a paragraph. A paragraph is defined as “a group of sentences or a single sentence that forms a unit”<br><br>Length and appearance do not determine whether a section in a paper is a paragraph. For instance, in some styles of writing, particularly journalistic styles, a paragraph can be just one sentence long. 
 </p>
</body> 
</html>


Output :






Comments