View Full Version : Converting text to html


shudnobeta
19-07-2005, 15:23
Please help I have recently started writing a cloumn for a website. They are now asking me to convert all my documents to HTML. Is there anywhere I can have this done for free online? I really have no idea where to start! I know nothing at all about formatting text.

march
19-07-2005, 15:29
If you paste the following in to notepad and put in the relevan bits then save it as something.htm it will be HTML file. Not sure that is what they will actually want but it is what they asked for.


DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>TITLE HERE</title>
</head>
<body>

CONTENT HERE

</body>
</html>

shudnobeta
19-07-2005, 15:35
Thankyou!
ERRRRR did I mention that I'm an IT idiot? Can you explain that again SLOWLY for the tards at the back please?

Skatiechik
19-07-2005, 15:45
Where it says CONTENT HERE in blue capitals, write what you need to write there and save it. Where it says TITLE HERE, replace these words with your title. Do not concern yourself with the rest or tell your webmaster to design a content management system for people like yourself ;)

Joelc
19-07-2005, 15:48
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>TITLE HERE</title>
</head>
<body>

CONTENT HERE

</body>
</html>


You missed a bit :P

Also, to move to a new line in html, use <br>, and use <p>CONTENT HERE</p> for a new paragraph.

Joel

shudnobeta
19-07-2005, 15:53
mm feeling more and more stooopider by the second. Is there anywhere on line I can feed my text in and have it all done for me? I really don't want to look at total ass to the site owner.....?? (even if I am) I wanted to try everything I could to work it out by myself.

cgksheff
19-07-2005, 15:58
Correct me if I am wrong, but can't you do all your work in MS Word and then "Save as" a webpage?

This converts all the text with formatting etc.

shudnobeta
19-07-2005, 16:00
Great how do I do that? Did I mention the idiot bit? This is my first time be gentle.

shudnobeta
19-07-2005, 16:05
OK I saved my doc as a HTML file..........now what?

sccsux
19-07-2005, 16:13
Originally posted by Joelc
You missed a bit :P

Also, to move to a new line in html, use <br>, and use <p>CONTENT HERE</p> for a new paragraph.

Joel

<br> tags don't always validate. Use <br /> instead;).

cgksheff
19-07-2005, 17:18
Originally posted by shudnobeta
OK I saved my doc as a HTML file..........now what?

That's all!

You asked how to convert your document to html. You've done it.
Use Internet Explorer to open the new file (***.htm) and you will see what it looks like. Just the same usually.

Don't see why the people recieving your column couldn't have done that anyway!

Lurch
19-07-2005, 20:30
Originally posted by cgksheff
Don't see why the people recieving your column couldn't have done that anyway!

Because Word isn't overly fantatsic at creating HTML files. This all sounds a bit like a lazy web designer to me, can't be bothered to change text to HTML.

Skatiechik
19-07-2005, 22:30
Originally posted by cgksheff
Correct me if I am wrong, but can't you do all your work in MS Word and then "Save as" a webpage?

This converts all the text with formatting etc.


:help: :gag: :shakes: I don't believe you just suggested that.

Skatiechik
19-07-2005, 22:32
Originally posted by shudnobeta
Please help I have recently started writing a cloumn for a website. They are now asking me to convert all my documents to HTML. Is there anywhere I can have this done for free online? I really have no idea where to start! I know nothing at all about formatting text.


As a more indepth answer, I would write back to them and ask them what exactly they mean.

There is no way of converting text to HTML, text is well, it is just text. HTML is merely a way of changing the presentation of the text which is not your concern as the stylesheet for the website will already be pre-fixed. I would seriously doubt the abilities of your web developer.

Joelc
19-07-2005, 22:47
Originally posted by sccsux
<br> tags don't always validate. Use <br /> instead;).

<br /> is XHTML strick/transitional only, not HTML :P

Joel

rich951
20-07-2005, 08:07
Ok, time to get back to trying to help him ;) Have a look at this page (http://www.w3.org/Tools/Word_proc_filters.html), it has a load of programs for converting word processor files to html. If you have already done a Save As in Word to html format, you can just email them that, but one of these programs might produce a better file. Word produces very messy html, but it would actually do the job if you email it over to the web designer - but one of these programs might produce something that looks closer to the original as well as being neater.