Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

Class notes 4310702

Rating
-
Sold
-
Pages
11
Uploaded on
01-03-2025
Written in
2024/2025

Lecture notes of 11 pages for the course 4310702 at UoN (Basics of html.)

Institution
Course

Content preview

Create HTML Lists

Ordered List
●​ The first is an <ol>: This is an ordered list of contents. For example:
1.​ An item
2.​ Another item
3.​ Another goes here.


●​ Inside the <ol> tag we list each item on the list inside <li> </li> tags.

<ol>
<h3>Fruits</h3>
<li>Bananas</li>
<li>Apples</li>
<li>Paw Paws</li>
</ol>

<h4>List of Countries</h4>
<ol type="a">
<li>Algeria</li>
<li>Benin</li>
<li>Ethiopia</li>
<li>Kenya</li>
<li>Tanzania</li>
</ol>



Unordered List
●​ The second type of list that you may wish to include is an <ul> unordered list.
●​ This is better known as a bullet point list and contains no numbers.

<ul>
<h4><u>Brands</u> </h4>
<li>Mazda</li>
<li>Lexus</li>
<li>Subaru</li>
</ul>
Description List

, ●​ The <dl> HTML element represents a description list.
●​ The element encloses a list of groups of terms (specified using the <dt> element) and
descriptions (provided by <dd> elements).
●​ Common uses for this element are to implement a glossary or to display metadata (a list
of key-value pairs.

Exercises

1.​ Come up with a code for this.




HTML Tables

●​ Tables are used in HTML documents (web pages) to present tabular data.
●​ A table is defined using the <table> element and contains several table cells ( <td>, for
“table data” ) which are organized into table rows ( <tr>).
●​ A table's markup (HTML code) is always based on rows, never columns.
●​ Table cells that act as column headers or row headers should use the <th> (table header)
element.
●​ Table cells can be merged using the colspan and rowspan attributes.
●​ Tables can be broken into sections using the following elements:
​ <thead> — Table header
​ ​<tbody> — Table body
​ <tfoot> — Table footer
​ colspan
​ rowspan

Written for

Institution
Course

Document information

Uploaded on
March 1, 2025
Number of pages
11
Written in
2024/2025
Type
Class notes
Professor(s)
Wachira
Contains
All classes

Subjects

$8.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
smocharingoz

Also available in package deal

Get to know the seller

Seller avatar
smocharingoz
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
1 year
Number of followers
0
Documents
17
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions