0% found this document useful (0 votes)
13 views

HTML Interview Questions

Uploaded by

Vaishnavi Reddy
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
13 views

HTML Interview Questions

Uploaded by

Vaishnavi Reddy
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 4
1. Define HTML. HTML stands for HyperText Markup Language. HTML isa standard text formatting language that creates and displays a variety of pages on the web. 2. Define HTML tags. HTML tags help place content in a proper format. Tags are opened and closed with < and > respectively. / is also used in the clo: 3. Are all HTML tags applied in pairs? No. The HTML tags are not always applied in pairs because some don't need a closing tag, For instance, for the tag, the closing tags are not required. 4. Why do characters display incorrectly on all systems? In some cases, the browser running does not support the character, and thus the character is displayed as boxes. 5. What is the limit to a text field size? The limit is 13 characters. The size attribute can be set to as low as 1. 6. Explain Description Lists. The description list allows us to add a description to each element of the list. 7. Define an image map. An image map helps link different kinds of web pages using a single image. The image map can be used for defining shapes in the images that are made part of the image mapping process. 8. What is white space? White space is the empty sequence of space characters. This white space is. considered a single space character in the HTML. White space helps the browser collapse multiple spaces into one single space, and thereby the indent lines of the text can be taken care of conveniently. 9. Can some attribute value best to predefined values? Yes, some attribute values can be set to predefined values, but other attributes can accept any kind of numerical value, which represents the pixel size. 10. How can we create links to different sections within the same web page? We can create several links to different sections within the same web page by using the tag along and using the # symbol. 11. Can we keep list elements straight in the HTML file? Yes, we can keep list elements straight in the HTML file by using indents. The indent can also be used for the sub-nested list for the parent list that contains it for creating more lists and elements. 12. Why do we use alternate text in the image mapping? Alternate text is used to apply descriptive text to each of the hotspot links. 13.What is the purpose of a style sheet? A style sheet helps create a well-defined template that is both consistent and transportable. These style sheet templates can be linked to various web pages, which makes it easier to maintain and change the look of the web page. 14. What are the different list types of the ordered list? The different list types of the ordered list include roman numerals and alphabetical. On the other hand, the unordered list attributes can be set through circle, square, or disc. 15.Define Applets. Applets are small programs that are embedded with web pages so that they can perform particular functions, including animation, information processing, and even computation. Applets are written using the Java language. 16. Where can you specify colors for table borders? The specification of color for table borders can be made in the style sheet, and in its absence, the same color as the text will apply. 17. Define the Canvas element? A canvas element supports the creation of charts and graphs. It helps create 2D images that can be placed directly through the HTMLS code. 18. What is a Marquee and how is it applied? A Marquee helps set scrolling text on the web page. To apply a marquee, you use the tag.

You might also like