Advertisements
Advertisements
Questions
Write two points of difference between XML and HTML.
Give one difference between XML and HTML.
Differentiate between HTML and XML.
Solution
S. No. | HTML | XML |
1. | HTML stands for Hyper Text Markup Language. | XML stands for Extensible Markup Language. |
2. | HTML is static in nature. | XML is dynamic in nature. |
3. | HTML is a markup language. | XML provides a framework for defining markup languages. |
4. | HTML tags are pre-defined. | XML tags are not predefined; they are user-defined. |
5. | Not case sensitive. | Case sensitive. |
6. | HTML may ignore minor errors. | XML does not accept errors. |
Notes
Students should refer to the answer according to their question and preferred marks.
APPEARS IN
RELATED QUESTIONS
The valid attribute of <A> is______
(i) NAME
(ii) SRC
(iii) BGCOLOR
(iv) HEIGHT
Give function of following tags with an example of each
- <img>
- <em>
- <dl>
Write output of the following HTML program
<HTML>
<HEAD>
<TITLE> abc </TITLE>
</HEAD>
<BODY>
<H1 align="center">KBC Restaurant</H1>
<TABLE border="2">
<TR>
<TH rowspan="2">
<font size="5"> Pawbhaji </font>
</TH>
<TH> with cheese </TH>
<TH> 35 </TH>
</TR>
<TR>
<TH> without cheese </TH>
<TH> 25 </TH>
</TR>
</TABLE>
</BODY>
</HTML>
Write a program in HTML for the following output:
(i) Arts
A. History
B. Geography
(ii) Science
I. Computer Science
II. Physics
(iii) Commerce
O English
O Accounts
BORDER is attribute used in ___________ tag of HTML.
Explain any three tags of HTML which do not - have ending tags.
Write an HTML Code for following :
Year | Students | ||
Boys | Girls | Total | |
2004 | 25 | 30 | 55 |
2005 | 80 | 25 | 105 |
Record
Write an HTML Code for following output
COLLEGE ← h 1 and center |
Principal • Vice Principal • Professors • Non-teaching Staff For more details click here |
(The words click here act or hypcrlink to next page whose address is "C:\MyDcouments \ Al.HTML")
_____tag is used to put a line break in HTML Code
(i) <HR>
(ii) <BR>
(iii) <P>
(iv) <LI>
With syntax diagram explain structure of HTML WebPage.
Write a code in HTML for following table :
Write the exact output of the following HTML Code with font specification in backet
<html>
<head>
<title> Introduction </title>
</head>
<body>
<h1><b>Computer Science</b></h1>
<hr>
<u> Paper-I </u>
<hr>
<u> Paper-II </u>
</body>
</html/>
In HTML, for Red colour, RGB code is _______.
(i) # 00 00 00
(ii) # ff 00 00
(iii) # 00 ff 00
(iv) # 00 00 ff
Explain <OL> and <UL> tag used in HTML with example
Write HTML code for the following output :
Cricket Analysis
Country | Played | Won | Lose |
INDIA | 30 | 27 | 03 |
PAKISTAN | 30 | 03 | 27 |
Write the output of the following HTML code :
One Two Three Monday Tuesday Wednesday
Bulleted list in HTML is created by________ tag.
Write exact output of following HTML Code:
<HTML>
<DODY>
<OL start – “10”>
<Li> English
<Li> Second language
</OI>
<OL> Type = “a”
<li> Compulsory
<li> Optional
</UL>
<UL Type = “Square”>
<Li> Science
<Li> Arta
<li> Commerce
</LU>
</BODY>
</HTML>
Write HTML code for the following output:
Mypage |_|-|× |
HTMLisa hypertext Markup language, The basic language of HTML is ASCII code. The start tag and end tag. This is only text oriented language. |
One Two |
1.One 2.Two |
Write HTML code for the following output:
Mypage |_|-|× |
HTML isa hypertext Markup language, The basic language of HTML is ASCII code. The start tag and end tag. This is only text oriented language |
One Two |
1.One 2. Two |
Assertion (A): HTML is a Markup language.
Reason (R): HTML is used to structure or format text with the help of predefined tags.
M in HTML stands for ______.
Write the full form of the following:
HTML