Images in HTML

In html document, images are added via img element where the src attribute contains the url to the image path. Images example: <img src=”image.jpg”> There are different types of image format like jpg, png, gif, bmp etc. There is a attribute called “alt” which is used to give alternate information about the image or in […]

Links in HTML

To create any links in HTML internal or external <a> element is used. Clicking on this link user goes to another page or another external url. Normal links looks like: <a href=”http://www.example.com”>Click here</a> You can parameters too: <a href=”http://www.example.com?param1=100&param2=200″>Click here</a> Note to remember that parameters are separated by (&) after each parameter value. To open […]

HTML Lists

In html two different lists of elements are present i.e. unordered list and ordered list. Unordered lists: This lists enclosed with <ul> element and are bullet lists. <ul> <li>List 1</li> <li>List 2</li> <li>List 3</li> </ul> You can also change the type of bullet i.e. <ul type=”square”><li>…</li></ul> <ul type=”circle”><li>…</li></ul> <ul type=”disc”><li>…</li></ul> Ordered lists: These are used […]

HTML Entities

In many different language HTML language is used. So it contains different types of symbols or entities which are not english alphabet. These entities starts with ampersand character and finish with semicolor character. For e.g. &quot; Here is a list of entities examples: &quot; “ &apos; ‘ &amp; & &lt; < &gt; > &pound; £ […]