How to use Href and CSS tag in HTML

Now a days website developers and website design company is moving fast – really fast so you have to learn all HTML and all HTML5 updated tags. if you’re new so you have to learn from the very beginning and first learn how to attach CSS file which is the styling of your HTML structure .


First use simple html doc type which support HTML transitional.


<!DOCTYPE html>

<!DOCTYPE html PUBLIC “-//W3c//DTD XHTML 1.0 Transitional//EN”



  • Now first make an css stylesheet and call it in your HTML page through href attribute.


<link rel=”stylesheet” href=”path/to/stylesheet.css” type=”text/css” />


  • Here you’re calling javascript file through script text.

<script type=”text/javascript” src=”path/to/script.js”> </script>


  • Through (img) tag you can insert any image in html.


<img src=”path/to/imageURL” alt=”alternate image name” />