Week3 HTMLEmbeddedElements
Week3 HTMLEmbeddedElements
Embedded elements in HTML are used to integrate various types of content or media directly into a web page.
HTML Image
<img>
• The <img> tag defines the image.
• The source file (src), alternative text (alt), and size (width and
height) are provided as attributes.
These elements help in organizing and presenting information clearly and are fundamental to creating structured
content in HTML.
The TYPE Attribute for UL
You can use type attribute for <ul> tag to specify the type of bullet you like. By default, it is a disc. Following are the possible
options –
Value Description
disc Sets the list item marker to a bullet (default)
circle Sets the list item marker to a circle
square Sets the list item marker to a square
none The list items will not be marked
TYPE ATTRIBUTE UL
NESTED LIST
The TYPE Attribute for OL
The type attribute of the <ol> tag, defines the type of the list item marker:
Value Description
type="1" The list items will be numbered with numbers (default)
type="I" The list items will be numbered with uppercase roman numbers
type="i" The list items will be numbered with lowercase roman numbers
TYPE ATTRIBUTE OL
HTML Description List
<dl>
• The <dl> tag defines the description list, the <dt> tag defines
the term (name).
Value Description
_blank Opens the linked document in a new window or tab.
_top Opens the linked document in the full body of the window.