Wednesday, 28 February 2018

Top 6 HTML Tag used in Every Programming Language








Hello… how’s your day. Today am going to share my experience on some HTML {Hyper Text Mark-up Language} Tag that is mostly used in every programs or all programming language. Here are some HTML tags that are widely used.

1)    The declaration of the language been used which is in the format of <!DOCTYPE html> : Because there have been several versions of HTML, each web page should begin with a DOCTYPE declaration to tell a browser which version of HTML is being used in the code, (although browsers usually display the page even if it is not included). We have some version of HTML like HTML4,XHTML 1.0 and the current HTML5 which is used as example.

2)    The paragraph tag <p> </p>: this is the paragraph tag which is used to enter new paragraph of code, anything between the opening tag of paragraph and closing tag will be show in the next line of the output.

3)    Headings: In web design we have six levels of  headings which are:
<h1></h1> for heading 1 which is used for main heading, it is the biggest and largest heading.
<h2></h2> for heading 2 which is used for sub-headings.
<h3></h3> for heading 3 which is used for sections under the sub-headings.
We have <h4></h4> <h5></h5> and <h6> </h6> which is the smallest heading in the level.

4)    The line break tag </br> or <br/>: The line break tag which is used to enter new line in between the paragraph, the browser will automatically show each paragraph or heading on a new line. But if you wanted to add a line break inside the middle of the paragraph you can just use the line break tag.

(5) The quotation tag: The quotation tag which are <blockquote> </blockquote> and the shorter <q></q>. The <blockquote> element is used for longer quotes that make up an entire paragraph. Note: you can still use the <p> paragraph inside the <blockquote>. The <q> element is used for shorter quotes that sit within a paragraph.

(6)The image tag: The image tag which is <img> which is used to add image to the page, this is an empty element which does not have closing tag and it must carry the following attributes {SRC} which tells the location of the image in your system and the {ALT} which tells the description of the image and sometimes you can use the {title} which is used as additional information about the image. Example: <img src=”your_image_name.jpeg” alt=”my image” />

I think this article is being helpful. Kindly click the sharing buttons and share with your friends. I’m very sure they’ll love it! And comment below to know your opinion about this article.


No comments:

Post a Comment