Posts

Showing posts from August, 2015

How to add image in HTML Table?

Image
To add images in the HTML table simply we need to add the img tag in table.
As shown below:
EXAMPLE: <HTML>
      <HEAD>
                  <TITLE>Image in Table</TITLE>
      </HEAD>
<BODY>
<TABLE border="1">
       <TR>
              <TD>Image column</TD>
              <TD>First column</TD>
              <TD>Second column</TD>
      </TR>
      <TR>
              <TD><IMG SRC="htmlrun1.jpg" width="100px" height="100px"></TD>
             <TD>one </TD>
             <TD>two</TD>
      </TR>
      <TR>
     </TR>
</TABLE>
</BODY>
</HTML>
OUTPUT:

NOTE:Please make sure that your image is in same folder or add full path of image.







HTML | VIDEO TUTORIALS

Image
                                                     1. HTML Tutorial 1 (Basic)

Tutorial 1

2. HTML Tutorial 2
Tutorial 2

3. HTML Tutorial 3
Tutorial 3

4. HTML Tutorial 4
Tutorial 4


If you like the tutorials please subscribe the channel here



Computer related tips and trick n more

How to use styles in HTML?

Image
<!DOCTYPE HTML>

<HTML>
<HEAD>
<style type="text/css">h1 {color:red;} h2 {color:blue;}
p {color:green;}
</style>
</HEAD>

<BODY>

<h1>All header 1 elements will be red</h1>
<h2>All header 2 elements will be blue</h2>
<p>All text in paragraphs will be green.</p>

</BODY>
</HTML> OUTPUT: