I'm creating a website using Microsoft Word, but i can't find out how to insert some raw HTML. How do I do it?
Printable View
I'm creating a website using Microsoft Word, but i can't find out how to insert some raw HTML. How do I do it?
Open it in notepad?
I'm sure there's an Edit HTML option in Word & Publisher if you create websites in them, but since they're not really web design programs, they probably don't have every possible feature.
Wouldn't it be easier to use notepad if you're going to use raw html?
I'm not a designer by any stretch but I do know that word has it's own formatting and it can get a bit bogged down with useless code, by using notepad you'll eliminate that.
Just an idea...someone else will come along to help you better than I, after all....I have to use a GUI program like Dreamweaver. :D
yeah, save the file from word, right click on it in explorer and choose open with notepad, insert the html and then save it again. If you inserted something like a banner ad when you open it up in word again then you will be able to move it around with the placeholders.
Prankster
PS : Remember to show us the site when it's finished 8]
Ok since no one gave you a good answer.
First save it as a .html
Then go to the view tab, look down and there should be somthing called HTML Source
Click on that and whalla there you go. Once your done just save it. Open it back up in
word and your done.
hahaha
word? no. Don't use word.
How about some macromedia products or adobe...or even notepad. There's nothing like good old notepad
EditPlus is quite good, its just a text editor, but it does have quite a few features and templates for other languages as well as HTML, such as C, Java, Perl, VB and someothers.
www.editplus.com
I used excel to create an html page once (I was a TA for a comp sci class and too lazy to create my own tables using notepad for grades). When I opened the html file (in notepad) I was amazed how much junk m$ through in comments -deleted the junk.
Cheers,
-D
In a word - don't. If you're ok with HTML (the acronym stands for: Hyper text markup language btw (by the way).) First you could have a look at some of the fine tutorials in the AntiOnline Tutoruials section. Try these first:Quote:
Creating websites using Word
HTML Basics - Hot_Ice
HTML Tables - Hot_Ice
HTML files are just plain ASCII text files and as such can be creted in any text editor (even notepad or vi!) but a more feature rich app would be something like EditPlus (which I saw mentioned above). I like this because of the ftp open/save and code colouring features which are useful for me. But your favourite text editor is a personal thing. Try a few from www.download.com and find one that suits you.
Mr. Google will be able to help you find more information if you're interested.
If you really don't want to get involved with HTML then a basic wysiwig (what you see is what you get) HTML editor (that you can cut and paste into from M$Word) would be M$Frontpage Editor. M$ do a FREE cut down version of this which ships with Internet explorer (4 and above), or can be downloaded from www.microsoft.com.
Hope that helps...;)
Been using notepad since the dawn of time for my sites....
As for "how to insert raw code"...
Just type it in...
ie: <html>
<meta tag...>
<head>
<title>My Site</title>
</head>
<javascript....>
...
...
</script>
<body background=pic.jpg text=#..... link=#..... alink=#..... vlink=#.....>
<center><h2>My Site</h2></center>
...
...
....
...
</body>
</html>
Once done, (in notepad), save as whatever.html
Run the pages you've made with Word through HTML Tidy, http://www.w3.org/People/Raggett/tidy/ , it'll become much easier to add your own pieces of code because Word really messes the code up!
HTML Tidy is the semi-official validator/code-tidier from the World Wide Web Consortium. It operates in command line and has got a special switch for tidying Word documents (the code is that bad in those, really).
Tidy also helps with pages made with other tools and by hand.
If you are deadset on using a Word-type application, I recommend FrontPage 2000. It's a WYSIWYG (ugh!) editor which allows you to insert/view HTML, among other things.
Word? Hell, are you that ****ing desperate? Just go with notepad, you can view the html output in word.
silentstalker
whats wrong with using word for making a few quick pages? if thats all they want, word is great for those who could care less about learning html, js, php or asp but just want to put up ok looking pages fast. with word you could have your pages finished before you find your books on code and not have to learn another application or worry about the infamous FrontPage Extentions.
not everybody wants the same things we do.
Word would be an okay option if it didn't make such horrible spaghetti code. There are better WYSIWYG options such as dreamweaver (though pirated copies of it are generally harder to find ;)) or even Netscape/Mozilla composer. Dreamweaver especially makes for elegant code.
-DÆmon
I once made a page with Word.
I will never again.
If web pages are what you want to do,
Use Notepad.
I use Elizabeth Castro's book 'HTML FOR THE WORLD WIDE WEB' everytime I code with HTML and it's done wonders for me. She says on page 40 (my version) that if you're using Word for raw code, not to use the 'save as HTML' feature as this will 'code your code'. Instead, use 'Save as' and then 'text only ' for the format.
Well erm, I don't really know any HTML and as i'm just making some quick pages I don't think i'll take the time to learn it. I only needed to know how to insert some raw HTML so I could put a page counter on...
I don't have notepad...i have an Apple Mac, and i can understand how Word puts in worthless code, it is a MS product after all. But it will have to do until I can afford something like Dreamweaver...what with bieng a student and all.
Come to think of it, I chose Word because it had some templates :-/
Word interprets every
...</p> as a seperate paragraph and formats every paragraph, even if a whole set of paragraphs have identical formatting. It makes the pages about 50,000,000 times bigger....
1st Page 2000
This is the best HTML editor I've ever seen. I use it for my own site. It includes HTML tidy, an explanation of all the html tags (in cooperation with W3C) and for about 400 javascripts. All cut 'n pastable. It's has four modes, Beginner Intermediate Expert and Hardcore. All of them have different menu layouts and different buttons to help you get under way. It also has color coding. No wysiwyg editor, it's pure code. And most of all, it's free to download.
http://www.evrsoft.com/
Hope this helped. It definatly helped me on the way.
a good editor (text) is
http://www.fixedsys.com/context/
highlighters include for most languages (html, php, vbscript, actionscript ect- loads!)
its free, and it has an option to swap with your ordinary notepad , thereby becoming the default text editor (reversible)
ive used most and i find this the best, simplest, clearest, with good code highlighting - better than ultra edit or similar i feel
bottom line hough - dont be usin' office packages to make yur html - they suck the big one - every task has a tool
sorry - just checking back - using a mac? what about BBedit? probably the easiest text editor ever invented m8 - i just cant afford a cutting edge mac...i can however build a **** hot PC for half the price (prob only cos of the monitor prices)
just a thought
well as almost everyone has said, dont use word to make a website if you plan on inserting raw code into it yourself, i tried it with a site i was making and i had my nice, neat raw code to insert
did the couple of things i needed to do in word, opened my page in notepad and there was about 3 times the amount of code previously, use notepad if you feel youre up to it or you could try macromedia dreamweaver, ive used it a little bit and it does the cleanest code ive seen from a GUI web building program yet