PROGRAMMING IN COMPUTERS (HTML BASICS) PART - 5

 Hi, there welcome to the another part of Programming In Computers (Basics) Part - 5. In this part we will see about more Tags which are used under Body Tag or Body Section




Attributes : Attributes are the part of the Tag which is specially used to command the Tag that how the tag should work in the webpage. Attributes modifies the function of Tag and helps the user to modify the webpage and to make webpage beautiful and Good Looking.

BACKGROUND : This tag is used to change Background of your Webpage. It is an Empty Tag. It is used inside Body Tag. Eg. <Background = "image.jpg">.                                    

NOTE : The extension of image is .jpg or .png .

Bring the image on the Desktop at the location of your HTML Document and then write the name of the image and without space write .jpg or .png . JPG and PNG are the extensions of Image. 


HTML Program to change Background 

The background of the image has been changed


NOTE : The image you have to use in Background should be at the point where your HTML File is located on the desktop. You can see that the image extension is JPG or PNG by doing Right Click on the image and select Properties option, there it will show you the extension. 

Select Properties Option 

PNG File Extension 

H1 Tag or Heading Tag : H1 stands for Heading Tag. There are 6 types of Heading Tags : H1 , H2 , H3 , H4 , H5 and H6.This tag is use to Create a Heading for the Webpage. It's attribute is alignment . Alignment is used to place the text where you want on the webpage : LEFT ALIGNMENT, RIGHT ALIGNMENT and CENTER ALIGNMENT. 

H1 : This tag makes the text Bold, Highlighted. Eg : 


HTML Program of H1 Tag


Output of H1 Tag


H1 to H6 Tag :  These all tags (h1 to h6 ) makes the text Bold, Highlighted, but the difference between all these tags is of Font Size of all the Tags like : H1 > H2 > H3 > H4 > H5 > H6 tag. Eg : 

H1 to H6 Tags 

Output of Using H1 to H6 Tags

NOTE : You can use any alignment like : Left , Right , Center in the above Image. 

We will know about other tags of HTML in next part PROGRAMMING IN COMPUTERS (BASICS) PART - 6. 

THANK YOU ! 

You can now SUBSCRIBE us for more information. Just click on ALLOW Button which will be pop-up on the screen. SUBSCRIBE NOW! for more information and Get Notified when the new Articles comes.  

If you like the Article then press LIKE Button above to Like !!!!

Post a Comment

2 Comments

  1. AnonymousMay 13, 2022

    Excellent work

    ReplyDelete
    Replies
    1. TechzlovrJune 20, 2022

      Thank You for your review on this article.

      Delete

Ads