While reading PHP docs, I came across a peculiar tag that was used in examples. This tag is
<>Write something</>
I looked for it in the MDN website and even W3Schools website but did not find any reference to this unnamed tag.
I would like to know what it means. Thank you.
3
Answers
That’s not php code, the documentation is most likely refering to a react project.
Looks like a blank tag in react.
So i guess it works just like the span tag in HTML.
<> means opening tag and </> this one means closing tag.
Eg:
<body>
is the opening tag</body>
is the closing tag.In html almost every tags are with opening and closing tags