Why we need to use < > / etc signs n when and where? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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.

6th Jul 2019, 4:09 PM
Alif Tanjeen Ointy
Alif Tanjeen Ointy - avatar
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
6th Jul 2019, 11:19 PM
Chris Coder
Chris Coder - avatar
+ 2
oh okayy thank you so much . Sorry but thank you :)
6th Jul 2019, 4:27 PM
Alif Tanjeen Ointy
Alif Tanjeen Ointy - avatar
+ 2
thank you so so much
6th Jul 2019, 4:59 PM
Alif Tanjeen Ointy
Alif Tanjeen Ointy - avatar
+ 2
Example: weiting a paragraph - <p> We just started weiting a paragraph. Now let's close and finish the paragraph </p>.
6th Jul 2019, 6:31 PM
Ginfio
Ginfio - avatar
+ 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).
6th Jul 2019, 4:15 PM
Paul Grasser
Paul Grasser - avatar
+ 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
6th Jul 2019, 4:25 PM
Alif Tanjeen Ointy
Alif Tanjeen Ointy - avatar
+ 1
It means paragraph.
6th Jul 2019, 4:26 PM
Paul Grasser
Paul Grasser - avatar