Ticker

6/recent/ticker-posts

HTML Formatting (italic, smaller, mark) using notepad 2021

 

HTML Formatting:


  • HTML Stands for HyperText Markup Language and it is mostly used in the creation of websites.

Formatting Elements of HTML(HyperText Markup Language) :

Following points defines the elements used in HTML Language.
  • <i> tag stands for Italic text i.e, Italic font.
  • <small> tag stands for smaller text.
  • <ins> tag stands for inserted text.
  • <del> tag stands for deleted text.
  • <b> tag stands for bold text.
  • <strong> tag stands for important text.
Source code: 

<html>
<body>

<p>This text is normal.</p>

<p><i>This text is italic.</i></p>

</body>
</html>

Expected Output: 

                                  


  • <i> tag is used here to change the text to italian.
Source code: 

<html>
<body>

<p>Do not forget to buy <mark>milk</mark> today.</p>

</body>
</html>

Expected Output: 

  • <mark> tag helps to highlight the word in HTML Language.


Explanation:

Steps to Write the code:

Step 1: Open Notepad and type the above code of the paragraph program.

Step 2: Save the file on your computer by clicking the File and click Save As and name the file as per your interest and make sure to name the file as .htm for example abcd.htm

Step 3: Open the saved file and you can get the required output.
Post Navi

Post a Comment

0 Comments