HTML Unit 4 Assignment Answers
HTML Unit 4 Assignment Answers
Short Questions:
The <caption> tag is used to provide a title or a description for a <table> element. It is placed
cellpadding: It is the space between the content of a cell and the cell's border. It is used within the
<table> tag.
cellspacing: It is the space between the individual cells in a table. It is used to set the spacing
The <colgroup> tag is used to group one or more <col> tags. It is used to apply styles or properties
The target attribute specifies where to open the linked document. It can have values like:
limited in size.
POST: Sends data as part of the HTTP request body and is used to submit data to the server. It is
The <textarea> tag is used to create a multi-line text input field where users can enter longer text. It
Long Questions:
<thead>, <tbody>, <tfoot>: Define the header, body, and footer sections of a table respectively.
Table-level attributes: Attributes like border, cellspacing, cellpadding that apply to the entire table.
Row-level attributes: Attributes like align, bgcolor that apply to a specific row (<tr>).
Cell-level attributes: Attributes like rowspan, colspan, align, valign that apply to individual cells (<td>
or <th>).
The <tfoot> section contains the footer rows, often used for totals or summary information.
A bookmark, or anchor link, is created using the <a> tag with the href attribute. It can point to a
<label for="email">Email:</label>
</form>
Forms are used to collect user input on a webpage. They can include input fields, buttons, and other
controls. Data from forms can be submitted to a server using methods like GET or POST.
The <input> tag is used to create interactive controls in a form, allowing users to enter data. The