Web development 101: HTML basics for beginners
Everybody should know the basics of HTML. It will help us to do some basic tasks such as adding headings, images, analytics codes, and ad network codes. HTML also helps us to optimize the SEO of our website so that it can achieve higher rankings in search engines.
HTML for document summary
- <html> … </html> marks the start and end of the doecument.
- <head> … </head> shows the start and end of the specific information.
- <title> … </title> is used for the title for the page.
- <body> … </body> contains the infromationn the users can see and read.
HTML for document information
- <base/> shows a base URL.
- <meta/> tells the additional details.
- <style> … </style> shows document style information.
- <link/> shows the relationship.
- <script> … </script> marks the scripting information.
HTML for document structure
- <h1..h6> … </h1..h6> reveal the headings from 1-6.
- <div> … </div> marks the page section.
- <span> … </span> is used for inline section.
- <p> … </p> is used for organizing the paragraph.
- <br/> create the break in the paragrpah
HTML for text
- <strong> … </strong> emphasizes a point.
- <b> … </b> creates bold text.
- <em> … </em> emphasizes text in italics.
- <cite> … </cite> is used for citation.
- <q> … </q> shows the quotations.
HTML for link
<a href=””> … </a> is used to insert anchor text for hyperlinks.
HTML for image
<img /> displays the image file.
HTML for character sets
- " " is used for quotation marks
- < < is used for less than sign.
- > > shows the greater than sign.
- © © is used for copyright symbol.
- ™ û is used for trademark symbol.