Week 3.2
Week 3.2
HTML Group
Lists
Special Characters
DIV Element
Anchor Element
Summary
Next Lecture
References
Lists
displays a numbering or lettering system to itemize the information contained in the list
used of numeals (default), uppercase letters, lowercase letters, uppercase Roman
numerals, and lowercase Roman numerals
Description Lists
Description list
Description term
Description data
Hands-On Practice
<!Doctype html>
<html lang="en"> <ol type="i">
<head> <li>J2SE</li>
<meta chaset="UTF-8"> <li>J2EE</li>
<title>Example of Lists</title> <li>J2ME</li>
</head> </ol>
<body> <li>Python</li>
<h3>The following is Ordered list</h3> </ul>
<ol type="I"> <h3>The following is definition list.</h3>
<li>HTML5</li> <dl>
<li>CSS</li> <dt>Website</dt>
<li>JavaScript</li> <dd>A location connected to the Internet that
</ol> maintain one or more pages on the World Wide We.</dd>
<h3>The following is Unordered List</h3> </dl>
<ul type="square"> </body>
<li>PHP</li> </html>
<li>Java</li>
The Output …
use in your web page document, you need to use special characters
called entity character
Special Characters
configures a structural block area, or “division” on a web page, with empty space above and below
use a div element when you need to format an area of a web page, such as a logo, navigation, or
footer area
is the block display element
<div>
………………
………………
</div>
Anchor Element
use to specify a hyperlink, to another web page or file that you want to display
Attributes Description
href The attribute href (short for hyper reference) defines the link target. A website’s URI is expected as
the attribute’s worth.
title The title attribute enables you to add any link title to a hyperlink.
Example: title="Any link title".
target Using the attribute target, you can define a target frame where the link target should be opened by
the web browser.
Example:
target=“_self”. The target link opens in the specified frame in the current browser window.
target="_blank". The web browser opens the link target in a new tab or browser window.
Anchor Element
Absolute Hyperlink
Relative Hyperlink
E-Mail Hyperlink
will automatically launch the default mail program configured for the browser
begins with “mailto:”, followed by a valid e-mail address
To create a variety of lists (such as: Unordered lists, Ordered lists and Description lists)
To use the special characters in HTML pages
To identify the div element configures a block area
To add the anchor element inside your web pages
Next Lecture