Div and span elements in HTML
For special formatting, div and span elements are used. You need to add styles in css for proper formatting or looks and feel. The difference between <div> and <span> is <div> is displayed as a […]
For special formatting, div and span elements are used. You need to add styles in css for proper formatting or looks and feel. The difference between <div> and <span> is <div> is displayed as a […]
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, […]
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 […]
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> […]
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. […]
To format html text several elements are used. Now day we can do this by css style. But you can still use html element for formatting. Text Formatting types: <pre> Element: <pre> The quick brown […]
Here you will see how the basic html document structure looks like. The page includes a doctype declaration with a html, head, title and body element. Doctype tells the browser what version oh html is […]
HTML documents consists of multiple element structure which includes start tag, attribute, body element, end tag etc. Element Structure: The main tag of HTML is <html> and </html> which is start tag and end tag. […]
It takes a little amount of time to know what web is and how it is related to html. Using browser i.e. internet explorer, firefox, chrome etc you can run a html page i.e. a […]