 
                 
                InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. | What is Anchor tag? Explain with example. | 
| Answer» Anchor tag is the tag which is used to create a link in html document. This tag creates link within a webpage and also with another webpage. The tag uses href as compulsory attribute. Example : Following is an example of anchor tag <a href= “www.Google.com” > Google </a> | |
| 2. | Which tag is used to link a webpage? | 
| Answer» <A> Anchor Tag | |
| 3. | Mention the names of different types of lists used in HTML. | 
| Answer» There are three types of Lists in HTML: 
 | |
| 4. | HTML document is saved using extension(a) .htl(b) .html(c) .hml(d) .htnl | 
| Answer» Correct option is (b) .html | |
| 5. | Page designed in HTML is called is(a) Yellow Page(b) Web Page(c) Server Page(d) Front Page | 
| Answer» (b) Web Page | |
| 6. | A webpage displays a picture. What tag was used to display that picture?(a) picture(b) image(c) img(d) src | 
| Answer» Correct option is (c) img | |
| 7. | What should be the first tag in any HTML document?(a) <head>(b) <title>(c) <html>(d) <document> | 
| Answer» Correct option is (c) <html> | |
| 8. | For what purpose Marquee tag is used? | 
| Answer» The marquee tag is used to navigate the text on web page. | |
| 9. | What are the methods of aligning an image? | 
| Answer» 
 | |
| 10. | What is the correct HTML tag for inserting a line break?(a) <br>(b) <lb>(c) <break>(d) <newline> | 
| Answer» Correct option is (a) <br> | |
| 11. | What is SRC attribute? | 
| Answer» SRC indicates the source of the file. | |
| 12. | What is the purpose of submit button? | 
| Answer» Every form must include a button that submits the form data to the server. We can put any label on this button. It has two attributes these are type, which has submit value and value attribute defines the name of the submit button which can be displayed on the button. | |
| 13. | What are various alignment option for an image? | 
| Answer» 
 | |
| 14. | What is SCR attribute? | 
| Answer» SCR attribute is used to tell the source of image in<img> tag. | |
| 15. | What is <Img> tag. Explain. | 
| Answer» <img> tag is used to embed an image in HTML document. It means it displays an image in HTML web page. The general syntax of thi stag is <image SRC=””FILENAME”> | |
| 16. | Describe the basic structure of HTML in Details. | 
| Answer» HTML document has two main parts : 1. Head: The head section contains title that identifies the heading of the HTML document. 2. Body: The body element contains the actual contents or information that you want to display on a web page to the end user. HTML document contains the following syntax: <html> </html>: <head> </head>: <Title> </Title>: <body> </body>: For Example: | |
| 17. | Explain Font tag with its attributes. | 
| Answer» Font tag is used to change the style and shape of the text which is used in any HTML document. It allows to format data on a given web page. Font tag has four main properties: 
 | |
| 18. | What is a Tag ? | 
| Answer» Tag is a HTML command which is understood by web browser. These are also called as elements. These are enclosed in angle brackets. HTML document can not be prepared without these tags. | |
| 19. | Write the attributes of Unordered Lists? | 
| Answer» 
 | |
| 20. | What is essential to view a website ?(a) Internet(b) Web Brower(c) None of these(d) Both of these | 
| Answer» (d) Both of these | |
| 21. | Explain definition lists with an example. | 
| Answer» As you might expect, definition lists begin and end with the tags <DL> and </DL>. However, unlike the unordered and ordered lists, definition lists are not based on list items. They are instead based on term-definition pairs. | |
| 22. | How will you create home page of a Website? Write the steps. | 
| Answer» The first page of the website is called home page. The followings are the steps to design home page: 1. Start___ Program_____ Accessories ______Notepad. 2. Write HTML coding and save with .html extension. <HTML> | |
| 23. | What is HTML ? | 
| Answer» HTML stands for Hyper Text markup Language. It is a language used for designing a web page in which text, graphics, and other information are organized, formatted, and linked together. HTML is extremely simple, Flexible, easy to learn, interactive, widely accepted Markup Language. | |
| 24. | Name the list which have information related to each other but their sequence is not important. | 
| Answer» Bulleted Lists | |
| 25. | What is a Nested List? | 
| Answer» Nested List. The list entities mentioned above can be combined to produce nested lists. For example, the following contains two numbered lists within one unordered list: 1. Departments in the B-Block: 
 2. Departments in the C-Block: 
 This document describes glossary lists. The following document ([Next] from the menu at the top of the page) explains the formatting of regular lists. | |
| 26. | What are container tags? | 
| Answer» Paired (Container) Tag: A tag is said to-be a paired tag if the text is placed between a tag and its companion tag. In paired tags, the first tag is referred to as Opening Tag and the second tag is referred to as Closing Tag. | |
| 27. | Name the tag which is by the beginning and ending tags. | 
| Answer» Container Tag | |
| 28. | Write a short note on colspan. | 
| Answer» To span two adjacent cells in a column, use the COLSPAN attribute with <TH> or <TD>, as follows: <TD COLSPAN = 2> | |
| 29. | What is meant by cell spacing? | 
| Answer» The space between two cells is called cell spacing. | |
| 30. | How will you make the border of a table? | 
| Answer» By giving the border attributes of table tag. | |
| 31. | Write the procedure of changing the table size. | 
| Answer» We can change the size of the table by using the width and height attributes of table tag. <table width = “300” height = “400”> | |
| 32. | What is a table row? | 
| Answer» <TR><VTR>-Each row in the table is contained by these tags. You can optionally leave off the closing </TR> tag. | |
| 33. | Which tags are used to show table heading and table data? | 
| Answer» <th> tag is used to give table heading and <td> tag is used to show the data. | |
| 34. | Which is related with Internet ?(a) HTML(b) XML(c) CSS(d) All of Above | 
| Answer» (d) All of Above | |
| 35. | Explain ordered list with an example ? | 
| Answer» Ordered list is created using <ol> </ol> Tag. The attribute type may be ‘a’, ‘A’, 1,1, ‘i’, etc. On the face of it, ordered lists look a lot like unordered lists, and a lot of the same rules apply to both constructs. The only difference in HTML is that instead of using <UL> and </UL>, an ordered list is contained within the tags <OL> and </OL>. Ordered lists are based on list items, just as unordered lists are. The markup for a simple ordered list, based on the first example in this chapter : <OL> The above markup will look similar to the previously discussed simple unordered list, with the important difference that each day of the week is numbered instead of preceded by a “bullet.” In other words, it looks like this : Monday Ordered lists are as nestable as unordered lists, and you can nest unordered lists in ordered lists, as well as the other way. | |
| 36. | This method is used to encode the feeded data by the user by using URL path and is sent to the server. | 
| Answer» Correct answer is GET method | |
| 37. | HTML stands for …….. | 
| Answer» Hyper-Text markup Language | |
| 38. | ALT stands for………. | 
| Answer» Correct answer is Alternate | |
| 39. | True or False :1. HTML is a structured Language.2. Table heading starts with <TH> tag and ends with</TH>tags3. Align does not defines the alignment of the attached image in contrast to the other contents of the webpage4. CELLPADDING is the pixel space between-the cell contents and the cell border.5. Definition list generally contains the definitions of different terms and their meaning. | 
| Answer» 1. True 2. True 3. False 4. True 5. True | |
| 40. | True or False :1. The HTML tags can be written in Capital or small Letters of English Alphabets.2. Text is written in word pad to create a home page.3. Body tag is written after Head tag.4. Container tag is a solo tag.5. Title is written in Head Tag.6. There are six levels in Heading.7. The tag <P> is used for paragraph.8. The attributes of a list: Face, Size, Colour.9. The tag <BR> is used to make the text dynamic10. The bullets are marked in an Ordered List. | 
| Answer» 1. True 2. True 3. True 4. False 5. True 6. True 7. True 8. False 9. False 10. False | |