3 Html Content And Tables

Web Technology I · Unit 3

HTML Content and Tables

Exam-focused notes for HTML Content and Tables (Web Technology I, BIT251): what the TU syllabus asks and how it has actually been tested, with 3 solved past questions from this unit.

What this unit covers

  • HTML lists ordered and unordered
  • HTML table structure and attributes
  • Table borders and styling
  • HTML entities and special characters
  • HTML links and anchors

HTML table structure and attributes

20795 marks

What is table in HTML? Create a HTML page containing a DIV with name "divtb". The divtb should contain a table as below[Note the border should be dotted ] [5]

An HTML table is a structured way to display data in rows and columns format. Tables are created using the <table tag along with several related tags: Tag Description ------ <table Defines the table <tr Defines a table row <th Defines a table header cell (b...

Full solved answer →
010 marks

Write HTML script to generate following output. Create a table like below. Set link to www.facebook.com in the text "Null". The title of your HTML page should be "Test". The table should be in a div having id dv1. (explanation: The below table is about the use of rows and columns, use of rows , use of subscript and supescript)[10]

Based on the question description, the table contains: - A title "Test" for the HTML page - A table inside a div with id="dv1" - Use of rowspan and colspan - Use of subscript (<sub) and superscript (<sup) - A hyperlink to www.facebook.com on the text "Null"...

Full solved answer →

HTML entities and special characters

2080.25 marks

Write HTML script to display following output in a division under body section. a) The ampersand (and) sign: & b.) equation $3x^2 + 2x_1 y < 4$. $45 < > 30$ [5]

The question requires displaying special characters and mathematical expressions using HTML entities in a <div under the <body section. Symbol HTML Entity -------------------- & (ampersand) &amp; < (less than) &lt; (greater than) &gt; Superscript <sup tag S...

Full solved answer →