Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Other Web Development (https://www.askmehelpdesk.com/forumdisplay.php?f=467)
-   -   Question about html/css and linking local files a question of security. (https://www.askmehelpdesk.com/showthread.php?t=832326)

  • May 19, 2017, 02:51 PM
    DoodleDo
    Question about html/css and linking local files a question of security.
    I'm sorry for this total noob question, but I'd rather be safe than sorry. (ive only been coding for like 2 weeks)
    I am making a joke website for my brothers birthday using notepad++ and my limited knowledge. It won't ever be a live website and only he will have access to it.
    I am currently in the process of coding the links to some local files. I know chrome and Firefox don't allow you to link to local files for obvious security reasons. There are workarounds that I haven't tried because I want to make sure that I won't be putting my files and computer at a higher risk because I'm linking to local files through my fake website.
    Any advice is greatly appreciated.
    Thank you in advance.
  • May 22, 2017, 11:02 AM
    InfoJunkie4Life
    What do you mean by linking local files.

    Are you trying to utilize style sheets, create download links, insert images, etc.

    Often in html using the <a href tag, you can link protocols, document anchors, and both relative and absolute URL's.

    Here is a good rundown.

  • All times are GMT -7. The time now is 01:50 PM.