33. What is the difference between cell spacing & cell padding?
-The distance or gap between two cells in the same table is called cell spacing. Cell Padding is defined as the gap or space between the cell’s content and the cell wall or cell border.
<table border cellpadding="10px" cellspacing="4px">
<tr>
<td>HI</td>
<td>HI</td>
<td>HI</td>
</tr>
<tr>
<td>HI</td>
<td>HI</td>
<td>HI</td>
</tr>
<tr>
<td>HI</td>
<td>HI</td>
<td>HI</td>
</tr>
</table>
34. Which HTML tag is used to separate sections of text?
-Using the <br> tag, you can separate the lines of text.
Other tags, including <p> tag and <blockquote> tag, are also used to separate the text.
35. How many types of media formats does HTML support?
-HTML supports a wide range of media forms, including music, video, movies, sounds, and animations.
Images: jpg, jpeg, png, gif, SVG, apng, BMP icon
Audio: RealAudio, WMA, MIDI, AAC, WAV, MP3
Video: MPEG, AVI, QuickTime, RealVideo, WMV, Flash, WebM, and MP4
36. How are active links different from normal links in HTML?
-Some browsers recognize it when the mouse cursor is above an active link. Others recognize active links when the link has the attention.
Those without a mouse cursor above the link are considered normal.
Blue is the default color for normal and active links.
37. What happens if the external CSS file is opened in a browser?
-When you open the CSS file in a browser, nothing happens. It fails since the file has a different extension.
So the only way to use an external CSS file is to reference it within another HTML document using the <link/> tag.
38. Is there any chance that the text will appear outside of the browser window?
-The text is wrapped by default to fit within the browser window. However, if the text is part of a table cell with a fixed width, it may expand beyond the browser window.
39.What is the difference between HTML & XHTML?
40. How to include a favicon in HTML?
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Favicon</title>
<link rel="shortcut icon" href="./fav_ex.jpg" type="image/x-icon">
</head>
DAY_11 28_Jan(Sat)_2023