Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Exporting HTML from Illustrator

From: Illustrator for Web Design

Video: Exporting HTML from Illustrator

One of the best ways to showcase any web site mockup that you created for a client is to export it out as a HTML for them to view and actually maybe interact with a little bit. Unfortunately, in Adobe Illustrator CS6 they have actually removed the HTML export feature from the Save for Web Dialog box. In previous version of Illustrator, you could just go to File > Save for Web and you can actually choose in there to export out the HTML and the images that you were exporting. In this version of Illustrator though, that's simply not possible, unless you know this little workaround. So that's what I'm going to show you how to do right now.

Exporting HTML from Illustrator

One of the best ways to showcase any web site mockup that you created for a client is to export it out as a HTML for them to view and actually maybe interact with a little bit. Unfortunately, in Adobe Illustrator CS6 they have actually removed the HTML export feature from the Save for Web Dialog box. In previous version of Illustrator, you could just go to File > Save for Web and you can actually choose in there to export out the HTML and the images that you were exporting. In this version of Illustrator though, that's simply not possible, unless you know this little workaround. So that's what I'm going to show you how to do right now.

So the first thing I need to do is go to the File menu and choose Save for Web. And once I have this done, it's going to open up, and it's going to load up all the slices and individual objects and things like that. Well, in order to get the HTML that I need in order to make this work, I need to come down here to the bottom and I need to click Preview. That's going to preview it in your default browser. Mine happens to be Google Chrome. And so when I open this up, you can see it's a full rendering of this. It's also got some information down at the bottom, which you can ignore. But for now, it's got basically everything that I've rendered out as HTML.

In order to save this, I need to go to the File menu and choose Save Page As. I am going to navigate to my desktop. I'll create a new folder and I'll call this Mockup, and then I'll just save this. Now I'm going to open that document. So I go to File > Open, Mockup/color_share, open it up. And when you open it up, it's going to look blank, and that is because there are no images in here. It's actually referencing images that have not been exported yet. If I right-click and choose View Page Source, you can see here that it's got all the divs outlined and it's referencing images--PNG files in fact--that have not been exported yet.

So what I need to do is go back into Illustrator, into the Save for Web Dialog box, and export those out. So in order to do that, I'm just going to pick the PNG format. You could pick any format you want, but you need to stick with that format from beginning to end. So when you first come in here, pick something like GIF or JPEG. You don't have to individually optimize these because this is just for demonstration purposes. This is not actually a web page. And so once I'm done with this, I'll click Save. It will ask me where you want to save it. I'll put it in my desktop, inside the Mockup folder, and hit Save.

Now changes are it's going to stick it in a folder called Images, just like this, and if I navigate out to my desktop, you can see there is the Images folder. I'm just going to take all of these graphics and move them into the parent folder, just like so, and then I'll move that file to the trash. I don't need that images folder anymore. And now watch what happens when I go back to my web browser. And I'll refresh the color_share.html. There it is. Everything is back in there. You could then open this up in Dreamweaver and remove this stuff from the bottom if you wanted to, but it gives your client an idea of exactly what their web page is going to look like in an HTML document.

Again, there's no interactivity. There's no way to click. There's nothing really happening in here. This is not even editable text, but this is a great way to show your mockup as it would be on the web in a nice easy-to-see format for your client or whoever you might be working with. This is also great to send this off to a developer to say okay, this is what I would need it to look like. Make this look correct with the right HTML and CSS behind it. And so once you've done that, that's how you get around the no HTML export feature inside of Adobe Illustrator CS6.

Show transcript

This video is part of

Image for Illustrator for Web Design
Illustrator for Web Design

67 video lessons · 24995 viewers

Justin Seeley
Author

 
Expand all | Collapse all
  1. 1m 13s
    1. Welcome
      50s
    2. Using the exercise files
      23s
  2. 43m 51s
    1. Designing for screens
      1m 57s
    2. Decoding screen size and resolution
      2m 40s
    3. Exploring the Illustrator to HTML workflow
      3m 42s
    4. Setting up Illustrator for web work
      6m 55s
    5. Creating a new document for web
      6m 25s
    6. Creating a new document for mobile
      3m 31s
    7. Using artboards for responsive layouts
      7m 42s
    8. Creating email newsletter documents
      4m 31s
    9. Working with Pixel Preview and anti-aliasing
      6m 28s
  3. 25m 28s
    1. Adjusting color settings
      6m 47s
    2. Understanding web color
      3m 47s
    3. Creating a color palette
      5m 4s
    4. Creating custom swatches
      4m 50s
    5. Working with fills and strokes
      5m 0s
  4. 13m 15s
    1. Exploring the Layers panel
      5m 21s
    2. Renaming and grouping layers
      7m 54s
  5. 24m 5s
    1. Drawing simple shapes
      4m 16s
    2. Working with Pathfinder
      5m 4s
    3. Using the Shape Builder tool
      4m 33s
    4. Creating symbols
      6m 24s
    5. Editing and replacing symbols
      3m 48s
  6. 20m 22s
    1. Planning your project
      2m 56s
    2. Using guides and rulers
      5m 56s
    3. Developing a layout with shapes
      6m 21s
    4. Using a grid system
      5m 9s
  7. 25m 53s
    1. Exploring the rules of typography
      4m 1s
    2. Using text as text vs. using text as an image
      3m 37s
    3. Understanding web-safe fonts
      1m 46s
    4. Creating and using paragraph styles
      5m 16s
    5. Creating and using character styles
      3m 2s
    6. Simulating the CSS box model
      8m 11s
  8. 21m 17s
    1. Understanding object appearance
      4m 43s
    2. Applying and editing live effects
      3m 34s
    3. Creating and using drop shadows
      3m 13s
    4. Creating more flexible rounded rectangles
      3m 17s
    5. Saving appearance as graphic styles
      6m 30s
  9. 35m 57s
    1. Starting with a wireframe
      5m 23s
    2. Adding master elements
      6m 45s
    3. Creating navigation buttons
      13m 34s
    4. Working with photographs
      5m 50s
    5. Simulating pages with artboards
      4m 25s
  10. 54m 45s
    1. Creating video placeholders
      10m 33s
    2. Creating buttons
      13m 1s
    3. Creating form fields
      8m 15s
    4. Creating radio boxes and checkboxes
      5m 11s
    5. Creating progress bars
      10m 12s
    6. Creating tabbed interfaces
      7m 33s
  11. 35m 28s
    1. Understanding slicing
      3m 26s
    2. Slicing up a mockup
      3m 6s
    3. Understanding web file formats
      5m 33s
    4. Exploring the Save for Web dialog
      3m 50s
    5. Optimizing photographs
      4m 29s
    6. Optimizing transparent graphics
      4m 43s
    7. Saving Retina display graphics
      3m 46s
    8. Exporting SVG graphics
      6m 35s
  12. 9m 29s
    1. Understanding image sprites
      3m 4s
    2. Creating a sprite grid
      4m 36s
    3. Optimizing sprites for the web
      1m 49s
  13. 15m 29s
    1. Placing Illustrator Smart Objects
      3m 22s
    2. Sharing color swatches between apps
      2m 9s
    3. Exporting Illustrator artwork as a PSD
      3m 49s
    4. Importing artwork into Fireworks
      2m 41s
    5. Exporting HTML from Illustrator
      3m 28s
  14. 1m 19s
    1. Taking the next step
      1m 1s
    2. Goodbye
      18s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Illustrator for Web Design.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.