🔥 Burn Fat Fast. Discover How! 💪

6) How to create a hyperlink in HTML? The HTML provides an an | Coding interview preparation

6) How to create a hyperlink in HTML?

The HTML provides an anchor tag to create a hyperlink that links one page to another page. These tags can appear in any of the following ways:

* Unvisited link - It is displayed, underlined and blue.
* Visited link - It is displayed, underlined and purple.
* Active link - It is displayed, underlined and red.


7) Which HTML tag is used to display the data in the tabular form?

The HTML table tag is used to display data in tabular form (row * column). It also manages the layout of the page, e.g., header section, navigation bar, body content, footer section.


8) What are some common lists that are used when designing a pag
e?

There are many common lists which are used to design a page. You can choose any or a combination of the following list types:

* Ordered list - The ordered list displays elements in numbered format. It is represented by
    tag.
    * Unordered list - The unordered list displays elements in bulleted format. It is represented by
      tag.
      * Definition list - The definition list displays elements in definition form like in dictionary. The
      ,
      and
      tags are used to define description list.


      9) What is the difference between HTML elements and tag
      s?

      HTML elements communicate to the browser to render text. When the elements are enclosed by brackets <>, they form HTML tags. Most of the time, tags come in a pair and surround content.


      10) What is semantic H
      TML?

      Semantic HTML is a coding style. It is the use of HTML markup to reinforce the semantics or meaning of the content. For example: In semantic HTML tag is not used for bold statement as well as tag is used for italic. Instead of these we use and tags.