Why we are use formation tags in scripting languages | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why we are use formation tags in scripting languages

5th Mar 2018, 3:28 AM
Chidambaram Kammila
Chidambaram Kammila - avatar
3 Answers
+ 11
Formatting tags? 😄 Because they can make your website more readable. With formatting tags you can have headings, subtitles, paragraphs, etc. It can make your website look better sometimes, as well 🎨 I'm not sure if that's what you mean by "formation tags" 😅
5th Mar 2018, 3:46 AM
Learnsolo
+ 4
Because they are formatting tags as name says.
5th Mar 2018, 3:46 AM
Pravin Pandey
Pravin Pandey - avatar
+ 3
Your question confuses me a little. Either way, I will respond to a variant that has not been covered: The inclusion of tags in some script languages is generally because those scripts are designed to work in an embedded manner with the language or the server side. The most common cases are PHP, where it is normal to see tags between the code fragments, and recently things like JSX, which is a way to have tags in JS code. Another way is because our script will generate a document as output that contains tags. Actually the reasons could be a little more, but I speak from my experience.
5th Mar 2018, 5:48 AM
Mickel
Mickel - avatar