Sometimes it is important to add image while creating a page. To add picture the tag "<img>" is used. An example is given below :
Here, "name" and "size" are two attributes of the "<img>" tag.
The directory of the image must be same as the page here and the name of the image has to be "pic1.jpg".
A simple thing that should be carefully use is - all tags have starting and ending. A tag that has started once, must be closed later. Otherwise, it can't work. Two examples about this are given below :
The first example is right here, but the second one is absolutely wrong.
There is a tag in HTML that need not to be closed. The tag is "<br>". It is used to go to a new line or used for line feed.
To be continued............
Tuesday, December 14, 2010
Subscribe to:
Post Comments (Atom)
Popular Posts
-
.:: DNS Server ::. The Domain Name System (DNS) is a hierarchical naming system built on a distributed database for computers, servic...
-
.:: Web Server ::. A web server can be referred to as either the hardware, the computer or the software, the computer application that...
-
The full process is tested on the computer with following configuration: Processor: Core i3 2.53 GHz RAM: 2.00 GB OS: 32-bit Windows...
No comments:
Post a Comment