Skip to main content

Basic html tags

 Basic html tags

         Here is a list of some basic HTML elements that you might use when creating a webpage:

Headings tags :

<h1> to <h6>: These elements represent headings of different sizes, with <h1> being the largest and <h6> being the smallest tag 

Paragraph tag:

<p>: This element represents a paragraph of text.

<br>tag:

<br>: This element represents a line break.

<hr>tag:

<hr>: This element represents a horizontal rule, or a line that runs across the width of the page.

<ul> And <ol>tags:

<ul> and <ol>: These elements represent an unordered (bulleted) list and an ordered (numbered) list, respectively. Each item in the list is represented by an <li> element.

<a>tag:

<a>: This element represents a hyperlink to another webpage or a specific location on the current webpage.

<img>tag:

<img>: This element represents an image.

<div> And <span>tag:

<div> and <span>: These elements are used to group and style HTML elements. <div> is a block-level element, while <span> is an inline element.

<form> tag:

<form>: This element represents a form that users can fill out and submit.

<input>tag:

<input>: This element represents an input field where users can enter data. There are many different types of input fields, such as text fields, checkboxes, and radio buttons.

Comments