Skip to main content

Top 5 HTML Interview Questions (Part 5)

21. Do older HTML files work on newer browsers?
Yes, older HTML files are compliant to the HTML standard. Most older files work on the newer
browsers, though some features may not work.

22. Does a hyperlink apply to text only?
No, hyperlinks can be used on text as well as images. That means you can convert an image
into a link that will allow user to link to another page when clicked. Just surround the image
within the … tag combinations.

23. What are style sheets?
Style sheets enable you to build consistent, transportable, a These templates can be linked to several different web page change the look and feel of all the web pages within a site.

24. What bullet types are available?
With ordered lists, you can select to use a number of different list types including alphabetical
and Roman numerals. The type attribute for unordered lists can be set to disc, square, or circle.

25. How do you create multicolored text in a webpage?
To create text with different colors, use the … tags for every character that you want to apply a
color. You can use this tag combination as many times as needed, surrounding a single
character or an entire word.

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…