Professional Documents
Culture Documents
Computer
Text or HTML editor: For ex, HTML editors are Dreamweaver, SeaMonkey, Coffee Cup, TextPad etc.
The text editors are include Notepad(for windows), Pico(for Linux), or Simpletext/ text Edit/TexT.
Web Browser. For Ex Internet Explorer of Firefox
HTML VERSIONS
◦ HTML 1991
◦ HTML 2.0 1995
◦ HTML 3.2 1997
◦ HTML 4.01 1999
◦ XHTML 2000
◦ HTML 5 2014
The src and alt are important attributes of HTML img tag.
1) src
2) alt
3) width
4) height
Use of height and width attribute with img tag
◦ <img src="animal.jpg" height="180" width="300" alt="animal image">
Example : <style>
div {
background-image: url('img_girl.jpg');
}
</style> - Specify the background image in the <style> element:
If the background image is smaller than the element, the image will repeat
itself, horizontally and vertically, until it reaches the end of the element:
Example <style>
body {
background-image: url('example_img_girl.jpg');
}
</style>
To avoid the background image from repeating itself, set the
background-repeat property to no-repeat. background-repeat: no-repeat;
Also, to make sure the entire element is always covered, set the background-attachment property to fixed:
Example <style>
body {
background-image: url('img_girl.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
</style>
HTML Lists are used to specify lists of information. All lists may contain one or more list
elements. There are three different types of HTML lists:
1.Ordered List or Numbered List (ol)
2.Unordered List or Bulleted List (ul)
3.Description List or Definition List (dl)
**We can create a list inside another list, which will be termed as nested List.**
In the ordered HTML lists, all the list items are marked with numbers by default. It is known as
numbered list also. The ordered list starts with <ol> tag and the list items start with <li> tag.
In HTML Unordered list, all the list items are marked with bullets. It is also known as bulleted
list also. The Unordered list starts with <ul> tag and list items start with the <li> tag.
<ul>
<li>Aries</li>
<li>Bingo</li>
<li>Leo</li>
<li>Oracle</li>
</ul>
HTML Description list is also a list style which is supported by HTML and XHTML. It is also
known as definition list where entries are listed like a dictionary or encyclopedia.
The definition list is very appropriate when you want to present glossary, list of terms or other
name-value list.
The HTML definition list contains following three tags:
1.<dl> tag defines the start of the list.
2.<dt> tag defines a term.
3.<dd> tag defines the term definition (description).
4. </dl> − Defines the end of the list
. The most important attribute of the <a> element is the href attribute, which indicates the link's destination.
The link text is the part that will be visible to the reader.
Clicking on the link text, will send the reader to the specified URL addres s
** All coordinates are relative to the upper-left corner of the image (0,0). Each shape
has a related URL. You can use any image software to know the coordinates of different
positions.**