Html/day1

Basic codes:

Why we use <h1> increase font size,

<h1> is big size,

<h2> is smaller then <h1> ,

<h3> is smaller then <h2> ,

<h4> is smaller then <h3>,

<h5> is smaller then <h4>.

Type paragraph in web page:

use this code <p> iam mathesh good boy</p>

we want to create a text box use this :

  • Enter name:<input type=”text” ><br><br>
  • Enter last name:<input type=”text”><br><br>
  • Enter password:<input type=”text disable” ><br><br>

why use <br>:

Text boxes line by line(order wise) using key <br>

If we want add image in web page:

use this code <img src=”/home/Mathesh/Pictures/index.jpeg”>

<h1><p>I am Mathesh</p></h1>
Enter name:<input type="text" ><br><br>
Enter last name:<input type="text"><br><br>
Enter password:<input type="text disable" ><br><br>
<img src="/home/Mathesh/Pictures/index.jpeg">

Output:

Leave a Comment