skip to Main Content

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


  1. That’s not php code, the documentation is most likely refering to a react project.

    Login or Signup to reply.
  2. Looks like a blank tag in react.
    So i guess it works just like the span tag in HTML.

    Login or Signup to reply.
  3. <> 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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search