Web Page Designing 312004 Practical No.3 Work on a paragraph on web page Answers

Web Page Designing 312004 Practical No.3 Work on a paragraph on web page Answers

Web Page Designing 312004 Practical No.3 Work on a paragraph on web page Answers
Web Page Designing 312004 Practical No.3 Work on a paragraph on web page Answers
A paragraph is usually a block of text. A paragraph always begins on a new line, and browsers automatically add some white space (a margin) before and after a paragraph. in this blog post, we are doing the WPD 312004 manual practical with the title Work on a paragraph on the web page.

Exercise

Design a Web Page to implement paragraph tag with following formatting tags :<b>, <i>, <u>, <br>,<center>,<pre> and <hr>


Answer: 

<!DOCTYPE html>
<html lang=”en”>
<head>
  <meta charset=”UTF-8″>
  <meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
  <title>Formatting Tags Example</title>
</head>
<body>
  <p>This is a paragraph demonstrating various formatting tags:</p>
  
  <p><b>This text is bold.</b></p>
  
  <p><i>This text is italic.</i></p>
  
  <p><u>This text is underlined.</u></p>
  
  <p>This sentence uses a <br> tag to create a line break. 
  The next line will start here.</p>
  <center>This text is centered using the `<center>` tag.</center><br>
  <pre>This is an example of preformatted text.
  It preserves spaces and line breaks exactly as written in the code.
  Here are multiple lines  
  of preformatted text.</pre><br>
  
  <hr>
  
  <p><i><b>You can combine these tags </b></i> for a more diverse look. <u>This sentence uses bold, italic, and underline together.</u></p>
</body>
</html>


Output:

312004

Practical Related Questions

1.Write 3 paragraphs about “HTML-The easy Language”. First paragraph should be in Center, 2nd paragraph should aligned in Right side and 3rd paragraph’s text color should be in Red color. Also use formatting tags.
Answer:
<!DOCTYPE html>
<html lang=”en”>
<head>
  <meta charset=”UTF-8″>
  <meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
  <title>HTML – The Easy Language</title>
</head>
<body>
<center><h1>HTML – The Easy Language</h1></center>
<p style=”text-align: right;”>
  Don’t be intimidated by the world of web development! HTML, which stands for HyperText Markup Language, is a surprisingly easy language to learn. It’s the foundation for creating web pages and forms the core structure of almost everything you see online. 
</p>
<p style=”color: red;”>
  With HTML, you can add headings, paragraphs, images, links, and more to your web pages. It uses simple tags and elements that are easy to understand, even for beginners. So, if you’ve ever wanted to build your own website or customize online content, HTML is a great place to start!
</p>
</body>
</html>

Conclusion

We successfully completed the Web Page Designing 312004 WPD manual practical number 3 and created various simple paragraphs on web pages using HTML

Leave a Reply

Your email address will not be published. Required fields are marked *