I'm working on creating a webpage for an assignment. I am to send my html files on a flash drive. Upon testing the sites, none of my pictures are showing. Is there a way to "embed" them so that they will be there when I send my html files? I am very new to Dreamweaver, so I'm sure there's something I'm missing.
Did you define a local site folder for your project files? This is a critical first step when creating websites. Go to Site > New Site. Create a folder on your primary hard drive, i.e. C:\MyTestSite.
Insert > Image. Point to a web optimized image from your local site folder.
<img src="my_image_file.jpg" alt="placeholder">
Save document as index.html (your site's home page).
When you're ready to share the assignment, copy your entire local site folder to the USB stick.
Hope that helps.
No, there is no way to physically embed an image within an html file.
The way html files work, an image stored within your site folder is linked to from within the page and displays when a browser reads the code.
When you define your site as Nancy suggests, you will create a root folder for your site and all of your assets (images, pages, scripts, etc) will need to be stored there. When you put your work on your flash drive, you'll simply create a copy of that folder on the drive.
When your teacher opens the drive and browses to your .html pages, the image links will work correctly and the browser will show your pictures.