How to Learn Basic Html

Featured Image

HTML Link (HTML LINK)
Links to HTML files are made by <a>. It starts with <a> and ends </ a> with <text> in that tag.

Example:1
<html>
<body>
<a href=http://google.com> Visit Google Serch </a>
</ body>
</ html>
HTML Image Link
HTML files are written by <> tags. Height is added to image by abd width.
<html>
<body>
<img src = “Penguins, jpg” height = “100px” width = “400px” />
</ body>
</ html>
HTML formatting 
Tags like HTML <b> <i> are used for HTML formatting. These two tags are bolded and italic . There are many more tags that are called formatting.
Examples:
<html>
<body>
<p> <b> This text is Bold </ b> </ p>
<p> <strong> This text is strong </ strong> </ p>
<p> <big> This text is Big </ big> </ p>
<p> <em> This text is emphasized </ em> </ p>
<p> <i> This text is iticic </ i> </ p>
<p> <small> This text is small </ small> </ p>
<p> <This text is <sub> Subscript </ sub> and <sup> Supscript </ sup> </ p>
</ body>

</ html>
HTML table
The tables in the HTML file are written by <table> tags. A table is separated by row with the <tr> tag, and each row is again divided into data cells by the <td> tag, td thinks table data that is a data sale container. A data cell can create text, image, list, photographic hariernal rule etc.
Examples:
<html>
<body>
<table border = “1”>
<tr> row 1, cell 1 </ td>
<tr> row 2, cell 2 </ td>
</ table>
</ htm>

<><><>

HTML List

an ordered List:

  1. The first list item
  2. The secound list item
  3. The third list item

An Unorderd List :

  • List item
  • list item
  • list item

Unordered list : Unordered list means basically the list of items. The list items are marked by bullets. With unordered list start <ul> tag and each list item starts with <li> tag. You can use paragraphs, libraries, images, links, etc. within the item. The following is given below:

<html>

<body>

<ul>

<li>Google</li>

<li>Yahoo</li>

</ul>

<body>

</html>

HTML Ordered List: Ordered List, like a UnOrdered List, is a list of items or lists. However, the number of items in this list is also <ol> made with the number. <Ordered> starts with <> tag and list starts with <li> tag. Inside the list item, you can use paragraphs, libraries, images, links, etc. within the item The following is given below:

<html>

<body>

<ol>

<li>Google</li>

<li>Yahoo</li>

 

</ol>

</body>

</html>

Leave a Reply

Your email address will not be published. Required fields are marked *