Skip to main content

Top 5 HTML Interview Questions (Part 4)

16. How to open a link in new tab or window?

      Use the following code to open the link in new tab or window
       <a href = "www.surajhtml.blogspot.in" target="_blank">Click Here</a>

17. What are heading tag in HTML?

       There are different tags in HTML Heading.
        <H1>Large Heading</H1> 
        <H2>Heading Two</H2>
        ----
        <H6>Small Heading</H6>

18. How to change the Background Color in HTML?

      Just use the bgcolor in body tag
     <body bgcolor="#FF00FF">

19. Different types of HTML List?

      Ordered List and Unordered List.

20. How to Add Title in HTML ?

      To add Title in HTML code use the <TITLE></TITLE> Tag in between     <HEAD></HEAD> Tag
      e.g. <HEAD>
                      <TITLE>My  PAGE</TITLE>
             </HEAD>
        

Comments

Popular posts from this blog

Use of HTML Quotation, Blockquote and Cite.

1. Quotation            In HTML for quotation mark you need to use <q>--</q> tag. The browser can understand the meaning of  <q> tag.
Syantax: <q> Sentence for quotation </q>
Example:<!DOCTYPE HTML>
<HTML>
<HEAD>
<TITLE> HTML Quotation</TITLE>
<HEAD>
<BODY>

    <H1> Example of HTML quotation mark</H1>

    <H2><p><q>A complete tutorial of HTML with htmlrun.com</q>
    </p></H2>

</BODY>
</HTML>


Output:


2. Blockquote.        In HTML for blockquote you have to use <blockquote> tag. To make a block of any paragraph with just like a justify alignment in word.

Syntax:<blockquote> Large number of sentences </blockquote>
Example:<!DOCTYPE HTML>
<HTML>
<HEAD>
    <TITLE> HTML BLOCKQUOTE</TITLE>
</HEAD>
<BODY>
<H1>Example of Blockquote</H1>

<BLOCKQUOTE>
A www.htmlrun.com is a HTML tutorial website and
a blog. Usi…

HTMLRUN TechNEWS - 003 | Chrome, Google TEZ, Airtel

1 . Chrome auto-play video    Google chrome will soon provide setting for auto-play video on website.
    User can allow auto-play or not, and also you can mute the video sound.

2. Google TEZ    Google is planning to launch a payment app called TEZ in India.
    Google announced the launch date of TEZ app on Monday September 18 2017
    by Union Finance Minister Arun Jeitley.

3. Airtel 60 GB    Airtel announced 60 GB data to postpaid customers.

    - Go to MyAirtel app which would prompt to download Airtel TV
    - Download Airtel TV app
    - Postpaid user will get 60 GB data for 6 month
    - 10 GB per month