Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

what's risk of not getting close <html> tag ?

Discussion in 'General Discussion' started by navid120, Apr 28, 2011.

  1. navid120

    navid120 Member

    Joined:
    Apr 23, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    51
    my html tag must be open , getting close it make problem in my website. as your comments there's some risks by doing it?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,467
    Likes Received:
    420
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Not sure I understand, if you do not close the tag the site works, if you add it, it breaks?

    Assuming you've already double checked and there is no other closing </html> tag in the file, sounds like theres some other issue with the page code.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. navid120

    navid120 Member

    Joined:
    Apr 23, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    51
    no, my website forced banner by hosting conditions, If I dont use </html> tag, ads will not shown, but I'm not sure my website with this can be hacked or no?
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,467
    Likes Received:
    420
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    I don't think there is any security issues with leaving the closing html tag out on your end, no. Sounds like your host? is forcing banner ads and you'd like to kill them this way? You might at least want to check your site in other browsers to be sure your users are seeing the site as its intended. If leaving the tag out breaks the site in some browsers, it might be easier to leave the banners run, or move to a paid host with no banners.

    GL!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice