Which tags are most suitable for a page\'s main title? <h1>…</h1>. <h2>…</h2>. <
ID: 3808346 • Letter: W
Question
Which tags are most suitable for a page's main title?
<h1>…</h1>.
<h2>…</h2>.
<h3>…</h3>.
<h4>…<h4>.
Which tags mark the beginning and end of a numbered (ordered) list?
<ul>…</ul>.
<body>…</body>.
<ol>…</ol>.
<p>…</p>.
Which of the following is required to show a picture in a Web page?
Put a <ul> tag where you want the image to appear.
Just put the image file in the folder that contains the pages.
Place an <img /> tag in the page where you want the image to show.
Put <table>...</table> tags where you want the image to appear.
Which HTML attribute of the <table> tag allows you to control empty space inside the borders of each table cell?
Cellspacing.
Cellpadding.
Border.
Align
Explanation / Answer
1. Which tags are most suitable for a page's main title?
<h1>…</h1>.
<h2>…</h2>.
<h3>…</h3>.
<h4>…<h4>.
Answer: <h1>…</h1> is the most suitable tag for page’s main title.
In fact the tags h1 to h6 are used only for headings, h1 represents the heading with highest priority and h6 represents the heading with least priority. For any webpage the page title is the most important and hence placing the page’s main title in <h1>…</h1> would be most suitable.
2. Which tags mark the beginning and end of a numbered (ordered) list?
<ul>…</ul>.
<body>…</body>.
<ol>…</ol>.
<p>…</p>.
Answer: <ol>…</ol> , represent the beginning and ending of an ordered list.
When we want to display an ordered list of items we use the <ol> tag.
Ordered list may be numerical or alphabetical. The type of the ordered list whether numeric or alphabetic is defined by the property type.
The valid values for type are 1, A, a, I, i. (I and I represent roman values)
Example: If we want list of alphabetical type we use <ol type=”a”> </ol>
3. Which of the following is required to show a picture in a Web page?
Put a <ul> tag where you want the image to appear.
Just put the image file in the folder that contains the pages.
Place an <img /> tag in the page where you want the image to show.
Put <table>...</table> tags where you want the image to appear.
Answer: Place an <img /> tag in the page where you want the image to show.
The <img> tag is used to define an image in a HTML page. The path where the image to be display is given the src property
Example: <img src=”myimage.gif” alt=”myimage” height=”50” width=”50”>
In the above example we used alt property with the value “myimage”, the purpose of this property is when the image when the image specified in the src attribute is not available then the text in the alt attribute will be displayed in place of the image.
4. Which HTML attribute of the <table> tag allows you to control empty space inside the borders of each table cell?
Cellspacing.
Cellpadding.
Border.
Align
Answer: Cellpadding
The cellpadding is the attribute that is used to control the spacing inside the borders of each table cell, conversely the cellspacing is the attribute that controls the spacing between the cells.
Cellpadding is the space between the text in the cell and border of the cell (spacing inside the cell) and cellspacing is the space between the cells (spacing outside the cell)
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.