Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS labeling close tags

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26573
    danielr0y
    Participant

    I’m a big fan of labeling my close tags, especially in large multi-include php sites, usually with a simple html comment </div><!– END xxx –>.
    However I have just noticed that including words in my closing tag doesnt seem to break anything… </div container>
    Can anything go wrong with this? or is it, for any reason, illadvised?
    Not a css question, I’m sorry, but thanks for your help.
    Daniel.

    #65939
    dcp3450
    Participant

    I’ve never thought about doing that. Personally, its poor syntax and just dirty code doing that. Also, it may cause an issue down the road for future browsers.

    That’s the only issue i can see off the bat.

    #65936
    Rob MacKay
    Participant

    yea you are dirtying your tags and it wont validate – best to stick with <!– normal methods –> :)

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.