+ 1
Why we need to use < > / etc signs n when and where?
sorry I am totally new and I literally dunno how to use and what to learn. please help me out.
7 Answers
0
Hello, Alif Tanjeen Ointy
Words wrapped in <> are called tags.
We use tags to differentiate markup from browser output.
Think of tags as little commands that tell the browser when to start and stop doing something.
Tags also tell the browser how to render information to the screen.
Example tag: <p>
<p> is a paragraph tag.
This tag is used to create a paragraph.
Most tags come in pairs:
<p> </p>
<p> Is a start tag. </p> is the closing tag.
Content goes between the tags.
Example:
<p> Hello, Alif Tanjeen Ointy </p>
The above markup tells the browser
Start <p>aragraph here.
.....
End </p>aragraph here.
If you were to put the above example in your HTML editor. The words on the screeen would say.
Hello, Alif Tanjeen Ointy
See the example in codeplayground. Press the green button that says run. To run the program.
https://code.sololearn.com/WQ09T5U49LT0/#html
+ 2
oh okayy thank you so much . Sorry but thank you :)
+ 2
thank you so so much
+ 2
Example:
weiting a paragraph -
<p> We just started weiting a paragraph. Now let's close and finish the paragraph </p>.
+ 1
<> and / specify tags in HTML. The markup is made of the tags, which are then displayed on the webpage.
Like so:
<p>This is a paragraph. </p>
<p>: The start tag of the paragraph.
</p>: Most tags have to come in pairs. If so, the end tag looks like that. (But with the respective tag name).
+ 1
oh okayy thank you,Paul
um sorry off this weird question but what does p means here in <> ...? sorry idk anything n I wanna know
+ 1
It means paragraph.