Lecture 2-Part2
Lecture 2-Part2
Lecture 2
• You can explicitly define the item value by adding the value attribute
to each list item. The list shown previously could also have been
generated with the following code:
• Unordered lists are lists in which the items have no sequential order.
• <ul type=“ ”> the type values (such as square, circle, disc…) are
used to change the list icon.
• Inline images can also be turned into links by enclosing the image
within opening and closing <a> tags.
• Turn the Curbside Thai logo into a hyperlink that points to the Startup
page you opened in the first session.
<a href="ct_start.html">
<img src="ct_logo2.png" alt= "Curbside Thai" />
</a>
• An absolute path is a path that starts from the root folder and processes
down the entire folder structure described with the expression
/folder1/folder2/folder3/file
• where folder1 is the root folder, followed by the subfolders folder2,
folder3, and so forth, down to the linked file.
E|/thai/docs/catering/ct_catering.html
scheme:location
• If you have ever accessed the web, you should be very familiar with
website URLs, which have the general structure
http://server/path/filename#id
or for secure connections
https://server/path/filename#id
• where server is the name of the web server hosting the resource, path
is the path to the file on that server, filename is the name of the file,
and if necessary, id is the name of an id or anchor within the file.
To Subject Body
Notice that the body text uses %20 character code to represent a blank
space since URLs cannot contain blank spaces.
2022 Dr. Ibrahim Al-Baltah 22
Linking to a Phone Number
• With the increased use of mobile phones to access the web, many
developers now include links to phone numbers for their company’s
customer service or help line.
• The URL for a phone link is
tel:phone
where phone are the digits of the linked number.
• For example, the following code creates a telephone link to the
Curbside Thai number:
Call: <a href="tel:+17045551151">(704) 555-1151</a>