Jump to content

Paths for HTML Images


random1

Recommended Posts

I have a really basic question for paths and HTML.

 

For a basic image HTML tag example I have:

 

<img src="images\example.png" width="100" height="100" />

 

For a relative path (like above src attribute) for a website should you use \ or / to separate directory levels?

 

I think I read somewhere that \ is local and / is remote?

Link to comment
https://forums.phpfreaks.com/topic/207685-paths-for-html-images/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.