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!

iframe src is not working on my server

Discussion in 'General Discussion' started by Sameera Wijerathne, Nov 12, 2017.

  1. Sameera Wijerathne

    Sameera Wijerathne Registered

    Joined:
    Aug 8, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Kelaniya
    cPanel Access Level:
    Website Owner
    i m trying to run this code on my linux server. it has CPANEL & WHM

    ===
    Code:
    <!DOCTYPE html>
    <html>
    <body>
    
    <iframe width='1080' height='760' src="https://www.w3schools.com" frameborder="0" allowfullscreen>
      <p>Your browser does not support iframes.</p>
    </iframe>
    
    </html>
    however. iframe is not working on WHM nature.

    please check this screen & help me to solve this problem

    image.prntscr.com/image/Krkyz1nhRUKQ4-24W6g6_Q.png
     
    #1 Sameera Wijerathne, Nov 12, 2017
    Last edited by a moderator: Nov 12, 2017
  2. web-project

    web-project Well-Known Member

    Joined:
    Nov 23, 2007
    Messages:
    62
    Likes Received:
    5
    Trophy Points:
    58
    Have you read above line? Your browser does not support iframes and nothing to do with cPanel. What is your first language? as I will try to translate this line for you or use google to translate it!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,563
    Likes Received:
    42
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    According to the screenshot you posted, w3schools disallows serving their content in an iframe. There is nothing you can do to fix that.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    721
    Likes Received:
    245
    Trophy Points:
    93
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    See the About Copyright page from the W3Schools pages for more information:

     
    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