Skip to main content

What are Tags and Attributes ?

The most important things you should know




Today we will cover what are Tags and Attributes and how we use them in html
 

                      Tags 

Tags are the commands which do not affect your presentation,it just give a meaning to your text and paragraph which you had written down.

These tags are written down in angular bracket 
Like (<head>,<body>) and ends with a forward slash like (</head>,</body>).

These are the tags we use and in this way we write down these tags

                 Attributes

Attributes are codes used within tags to make it more attractive .
Such as in "body" tag we use "bgcolor" attribute to change the colour of background,in "font"tag we use "face"attribute to change the writing style of text.

         <html> 
         <body bgcolor="red">
          Hello world
          </body>
           </html>

Before we start coding 

A text editor and a browser must be installed in your PC and android
 
Text editor where we write the code .

Browser is a place where our code will be displayed  
∆ Text Editor for PC are

1)Notepad
2)Notepad++
3)Sublime
4)Atom

∆Text Editor for Android are

1)anwriterfree
2)decoder
3)sock Editor
For Browser you can use Chrome,Firefox etc


IN THE PAGE WE WILL STUDY 
HOW TO USE TAGS AND THEIR 
ATTRIBUTES

      

Comments

Post a Comment

Popular posts from this blog

How to insert image ,video,audio in html ?

 How to insert videos audios and images in websites ? These are the most important tags because these tags are used from small websites to large marketing websites. And by adding a video to website we can increase the views probability by 300% so learn properly how to add videos audios and images to website                      Image Tag Image Tag is a tag by which we can insert images to html by the <image> tag ,this tag does not contain an end tag and we give some attributes like (src ) attribute in which we define the path of the image ,(width) and (height) attribute in which we give width and height of the image. <Body> <img src="gallery/taj.jpg"width="200px"height="50px"> </Body> In src attribute we first give the name of file in which it is stored and then we give a forward slash (/) to separate then we give the image name with its extension.

Heading tag,break tag ,hr tags how they are used

  How to give heading in html ? To give heading in html we use <h1> tag ,in this tag the size of heading varies by the number written in the right side of "h". For heading we can use 6 tags and these are 1)<h1> 2)<h2> 3)<h3> 4)<h4> 5)<h5> 6)<h6> These tags varies by size ,h1 is the biggest one and h6 is the smallest one .

Top 5 best video editing apps for android

  Top 5 best video editing apps for android Today video editing beacomes very important for many fields if you are a youtuber, Instagram user, tik toker, editor, video shooter then video Editing is very important part for your work. People spend 36 to 48 hours for normal video editing.  There are top 5 best video editing apps for android All these video editing apps are free you do not have to pay for any one. And these all are high rated editors on google playstore. Subscribe this channel and hit the bell icon.