Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to convert from Powerpoint to HTML / CSS ? (FOSS)

Tags:

Someone has mocked up a website using PowerPoint, and I have to convert it to HTML / CSS.

This is not a request to simply embed PowerPoint into the webpages. This will not be a static HTML site. PHP will generate HTML, and there are a bunch of forms for the user to submit information.

Is there a conversion tool, or a series of conversion hoops that I can jump through? I'd much rather have the styles in CSS than inline in the HTML.

like image 884
Mawg says reinstate Monica Avatar asked Jun 08 '11 04:06

Mawg says reinstate Monica


People also ask

How do I get HTML code from PowerPoint?

Get the embed code Open your presentation in PowerPoint for the web. On the File tab of the Ribbon, click Share, and then click Embed. In the Embed box, under Dimensions, select the correct dimensions for the blog or web page. Under Embed Code, right-click the code, click Copy, and then click Close.

Can I turn a PowerPoint into a website?

PowerPoint lets you save your presentation as HTML, as a web page (Office button -> Save As -> Other Formats, and then choose Web Page in the "Save as type" pull-down menu).


2 Answers

Since I'm guessing you're not the best with web design hardcode, your options are:

Go into powerpoint, and use the 'Save For Web' button. It won't be perfect, you'll probably have to tweak some stuff, but you could make it look right with much less coding knowledge then the normal site.

OR: Make a flash site and embed the powerpoint into the flash, if you're flash savvy.

OR: Here's a poweproint conversion tool if your powerpoint if you don't want to code at all: http://www.pptools.com/ppt2html/index.html I'm not sure how well it works, you'll probably just end up frustrated and you'll have to code some anyway.

Option #1 is good, and it will require very little actual coding, just fixing the thing powerpoint does wrong.

Option #3, flash ewww.

Option #4 I haven't tried it, but you sure can if you're feeling up to it, probably won't be too fast or customizable.

But overall, the best bet is going to be look at it with your eyes and convert it using your knowledge of code and w3fools.com, err, oops, http://www.w3schools.com/ as a resource.

like image 95
alt Avatar answered Sep 20 '22 09:09

alt


The "Save As Webpage" option no longer exists on PowerPoint 2010 and later.

Microsoft has provided a workaround, summarized as, "use the ppSaveAsHTML argument for the *.htm file format."

  • In PowerPoint 2010, open the presentation that you want to export to HTML.
  • Press Alt+F11, this opens VB for Apps.
  • Press Ctrl+G, this opens the Immediate pane.
  • In the Immediate pane, type the following, and then press the Enter key:

    ActivePresentation.SaveAs "<Drive>:\users\<username>\desktop\<filename>.htm", ppSaveAsHTML, msoFalse

To save by using the Single File Web Page (*.mht;*.mhtml) file format, replace htm at the end of the file name with mht, and replace ppSaveAsHTML with ppSaveAsWebArchive.

like image 23
JoshDM Avatar answered Sep 20 '22 09:09

JoshDM