Tuesday 24 September 2013

How to use HTML?

Hello readers!!!  So,we meet again today..
Today I will teach you something interesting which I just learn in computer class today.

"HTML"

okay,first of all html is stand for HyperText Markup Language.
 enough for introduction I guess..

The first step to use html is you need to open the Notepad

this is the sample of the simple HTML text with the output
simple HTML text

the output


so,the HTML text start with "<html> <body>".
the "<h1> texts </h1>" is the size of the fonts which 'h1' is the biggest font 
while 'h2' is smaller than 'h1' and continously until "h6" as the smallest font size...
while the "<p> text </p>" is represent paragraph.
the texts end with "</html> </body>".



1)How to make lists by using HTML?



there is 3 different lists you can make
  1. Unordered list
  2. Ordered list
  3. Nested list
 Unordered list and Ordered list:

As you can see,the difference between ordered an unordered list is,
the unordered list use "<ul" and "</ul>" while unorder list use "<ol" and "</ol>" .The contains of
the ordered list will sort by alphabets or numbers while unordered.

Nested List:

Nested list is the list which contains another list in it.

Then,you can represent the elements of each list by using "<li>element</li>"

2)How to put links or reference in HTML?
 


to insert link you can use "<a href="link">text</a>".
For the link,you need to put the url for the reference website.

3)How to put image in HTML?


The text you need to use for the image is "<img src="images.jpg" alt="Smiley face"
width="240" height="240" />
"
you can adjust the width size of the image by insert the size of the width and height at the text.
the text for the moving image and non moving image are same.

That's all for now.Till we meet again :)))))

No comments:

Post a Comment