HTML Basic Part-2 Heading, Paragraph, Link

HTML Basic Part-2: Heading, Paragraph, Link

In the last episode, we learned how to create HTML files. Today we will learn about HTML headings, paragraphs, and links.

HTML Heading:
We may have some questions when we learn about HTML heading. The answers to the questions are as follows:

First question: What is HTML Heading?

ans: we use Microsoft Office often to see an option called heading in the upper bar. Now, what is this heading? The task of heading is to give the writing a specific size. This is why a lot of headings are used. Such as:

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5

Heading 6

Second question: What is HTML Heading used for?


ans: it is used to enhance the beauty of writing, i.e. to show the title separately from the title to the description.

Third question: How it works in HTML or how it shows the output when it is written.

ans: first open notepad s and type the code below (see Episode 1 to learn how and where to do it). Click here to download notepad.

<h1>This is Heading one</h1>
<h2>This is Heading two</h2>
<h3>This is Heading three</h3>
<h4>This is Heading four</h4>
<h5>This is Heading five</h5>
<h6>This is Heading six</h6>

Then save it by any name or by heading.html.

After double clicking the saved file, the output that your browser will show you is given below:

This is Heading one

This is Heading two

This is Heading three

This is Heading four

This is Heading five
This is Heading six

Paragraph:

Let’s go, paragraph. We’ll have some questions in our minds when we start the paragraph. The questions are answered as follows:

First question: What is Paragraph?


ans: we almost all create websites with some sort of issue. It can now be a software website or a game website or an educational website. Now we write something about the things we create in that website. In a simple language, we can write something on the website to get html. The tag We use is the Paragraph tag

Second question: How is paragraph written?


ans: to write paragraph use this tag. Examples:

The following is what it will show as output:

Third question: How can a paragraph be written on the right, left or middle?


ans: we often want to write our paragraph stoicright, left or middle. How do I do that? It’s easier to do it. First, type the codes below and save it and see the magic.

<p align ="right">This tag shows the paragraph right</p>
<p align = "center">This tag shows the paragraph center</p>
<p align = "left">This tag shows the paragraph left</p>

As output will show:
This tag shows the paragraph right

This tag shows the paragraph center

This tag shows the paragraph left

I hope you don’t know how the tag worked.

Question 4: How do we get a new line in paragraphs?
ans: if we write anything in the paragraph tag, it will continue to be in the straight line unless we use the brake tag in it. What a tough feeling. It’s not a hard thing. When we write something in Microsoft Word, the new line comes when we press the keyboard’s enter button. But in HTML,
tag is to be used. Look at the example below in a cold head, you can understand it.

First example:

I love EvoBlogs. I love EvoBlogs. I love EvoBlogs.

This example has been mentioned three times in I Love EvoBlogs and will be displayed in the same line. Output as follows:

I love EVOBlogs. I love EVOBlogs. I love EVOBlogs.

Second example:

I love EVOBlogs.
I love EVOBlogs.
I love EVOBlogs.

Looking at the second example, you can see
tag used here. As a result, I love EVOBlogs words will be displayed in three lines. That is, what you will show as output is as below:

I love EVOBlogs.

I love EVOBlogs.

I love EVOBlogs.

Link:


Now let’s go to the link. We’ll have some questions in our head if we link. The questions are answered as follow

First question: What is HTML Link?


ans: when we create a website we use a lot of links. First of all, we try to understand what the link is.

For example, sometimes you suddenly find a girl at your university liking you. Then you don’t have the courage to do anything else. Then you might tell one of your girlfriends that you don’t want to link up with me. Now I think you understand what the link is. Link is link or connection.

In the case of websites, the link is to connect one page to another. In a more simple language, we use menubar/navigation on any web site. Now you can say what is the menubar again? The menubar is where the buttons (Home, Contact us, About Us) etc. are available. Now what happens if you press one of these buttons? It takes you to another page. This is because you can say that the button was already linked to this page.

Second question: How do I write HTML Link?


ans: HTML Link is very easy to write. You must use the tag to write it. Type the code as below.

EVOBLogs
Another question that can arise in your mind after typing the above code is:

Third question: What did the href mean?


ans: href indicates you want to link to a page or a site.

However, what your browser will show you as output is as follows:
EVOBLogs

And As soon as EVOBlogs clicks on the talk, you’ll be taken to the front page of EVOBlogs. If you don’t believe it, click once.

Now you said, “No, the page I’m on will remain and the page that’s clicked on a new browser tab will be open.” So that

Fourth question: How will the page open in the new tab?


ans: you can do the job by adding a few code to the above code. The code is as follows:

EVOBLogs
This is added only to additional target _blank.

Output (click once):
In EVOBLogs, we learned how to create HTML files. Today we will learn about HTML headings, paragraphs, and links.

ajax loader HTML Basic

0Shares

Leave a Reply

Your email address will not be published. Required fields are marked *