Pages

September 09, 2015

Using lists and tables in HTML


Q1) what is the < img > tag used for? What are its attributes?

Ans:
The < img> tag is used for inserting an image in a web page.
The < img > tag has many attributes like:-
Source – height – width – border - alignment

Q2) explain the various types of lists that can be created in HTML

Ans:
Types of lists that can be created in HTML are:
    -      Ordered lists
    -      Unordered lists
    -      definitions

Q3) what is Marquee?

Ans:
Marquee is a moving text on a web page. To insert a marquee on a web page we use < Marquee > tag.
< Marquee > text to be made into a marquee < /Marquee>


Q4) Explain the various types of links that can be created in HTML.

Ans:
     1)   links to pages in the same folder with “ index.html”
     2)  link to pages is a separate folder inside the main project         folder.
     3)   Link to pages in a folder one level up from your current          foldr
    4)  Link to another website
    5)   Image links ( you can link to the image itself, a web page, or a     website )
   6)  Mail to link ( email link )

Q5) write the tag to insert an image file “ automobiles.bmp” in a web page.

Ans:
<a href=”automobiles.bmp “> < img src= “automobiles.bmp” alt=”Image link” /> </a>

Q6) what is the use of blockquote tag?

Ans:
The <blockquote> tag is used to display a segment of text as a separate block by placing it within extra margings, so that it stands out from the rest of the text.
Syntax:
<blockquote> quotation to be displayed as a block </blockquote>


Q7) what is nesting of lists?
Ans:
HTML allows you to nest a list within another list. The list hat lies within another list is called a nested list. The browser automatically uses different bullets or numbering systems for the next level of the indentation for the nested list. You can nest an ordered list within an unordered list or an unordered list within an ordered list.


6 comments: