Basic HTML5 code
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title> Title of the page </title> </head> <body> Hello World! </body> </html>
Embed an image
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title> Embedding image tutorial </title> </head> <body> <img src="woman.jpg" width="200" height="200"> </body> </html>
Basic HTML Guides
HTML Introduction
HTML is an acronym for HyperText Markup Language. It is the most common language of the Internet’s World Wide Web. It is not a far away that HTML was developed as a branch…
HTML Elements
An HTML element consists of three parts: – start tag, end tag, and the elements within the tags. All the tags will not appear on the web browser because they are not….
HTML Comment
Adding HTML comment properly helps in finding class or a specific section in a large page. They are added only for giving information to the given sentence or given paragraph….
Popular HTML Tags
<p> tag
The <p> tag define a paragraph. Within a paragraph, we can write a bunch of sentence.
It is block level element so that the web-browser leaves some spaces before and after the <p> element. But it can be changed customly by using CSS margin property.
<title> tag
The <title> tag defines the title of a document or a webpage. It must be placed inside the <head> element.
It helps in search engine result. The title must be described clearly for better SEO. There must be only one <title> element for an HTML webpage.
<strike> tag
The <strike> tag was used in older HTML to create strike-through over texts horizontally. It is out-dated in HTML5.
Both <del> and <s> tags have semantic meaning while the <strike> tag has not. To define it without having any significant meaning, use <span>tag
