Html Formatting Tags:-
Table of contents
No headings in the article.
How to add link and img in HTML ?
By using <a> tag we can defines a hyperlink, which is used to link from one page to another. For example:
<body>
<h1>Well Come To My Linkdln page </h1>
<a href="#">Here</a>
</body>
By using <img> tag we can add images in our websites. For Example:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Linkdln Page</title>
</head>
<body>
<img src="https://media.istockphoto.com/id/537373196/photo/trees-forming-a-heart.jpg?s=1024x1024&w=is&k=20&c=vn8RYbtqmweD7KFJmXyZLXQMRc_GjHNkGUCNNrVaG0k=" alt="">
</body>
</html>
Html Formatting Tags -:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Formating Tag</title>
</head>
<body>
<h1>Formating tag </h1>
<b>This text is bold</b> <br>
<strong>This text is important!</strong><br>
<i>This text is italic</i>
<em>This text is emphasized</em>
<small>This is some smaller text.</small>
<p>Do not forget to buy <mark>milk</mark> today.</p>
<p>My favorite color is <del>blue</del> red.</p>
<p>My favorite color is <del>Blue</del><ins>red</ins>.</p>
<p>This is <sub>subscripted</sub> text.</p>
<p>This is <sup>superscripted</sup>
text.</p>
</body>
</html>
Output -