Stack OverflowDo most web 'programmers' (not designers) use WYSIWYG editors or hand code their HTML?
[+77] [72] John MacIntyre
[2009-01-02 04:58:06]
[ html web-development polls wysiwyg ]

When I started programming web pages, it became immediately obvious that the WYSIWYG [1] editors sucked. The HTML output was difficult to maintain, did things in ways you may not have agreed with, completely messed up existing pages if opened, couldn't handle code in the page, and was polluted with dead or irrelevant code like <font ...></font>.

At that time, I didn't know a single programmer with more than 6 months experience who didn't hand code their HTML. Even now, most of the developers I know hand code their HTML.

But, I also realize this was a decade ago, WYSIWYG editors have improved, and I may be seriously underproductive hand coding my HTML.

Do you, as a web programmer, use WYSIWYG editors for your HTML?

PS-I'm kind of thinking we can just vote either YES or NO, and put comments below.

When I wrote this; I thought I'd just throw out 2 answers see which got most votes, and accept that one. However, I can't accept my own answer, so I accepted 'Andrew G. Johnson's answer since is was the highest vote after my original 'HAND CODE' answer, and closely represented the same idea. - John MacIntyre
With regards to the above comment, I was told that you can accept your answer. I retried it, and it worked. Since that's the one with the most votes, I accepted that one. I don't know why I couldn't accept it before ... maybe my browser was running slow at that exact moment. - John MacIntyre
I don't see how you can accept an answer on a subjective question... - Andrew G. Johnson
@Andrew G. Johnson-Good point. When they put in the 'have you thought about accepting an answer' nag text in the profiles, I felt compelled to accept an answer. The nag text doesn't appear to be there anymore. Personally, I don't feel many questions can or should have an answer accepted, since many questions cannot have a single answer and many answers are overlapping or have missing information. - John MacIntyre
@Andrew G. Johnson-I must say that I feel pretty stupid accepting my own answer, but since it's got the most votes felt that it was the one that should be accepted. I didn't check at the time, but at least I didn't get rep for it, since it's a wiki question. - John MacIntyre
No, but you got a gold badge for it... :) - Erik
@Emtucifor - I did, but it's a hollow victory. It's like a stolen trophy, it doesn't make you feel good, only empty and guilty. :-( - John MacIntyre
[+203] [2009-01-02 05:00:13] John MacIntyre [ACCEPTED]

HAND CODE – I never use a WYSIWYG editor.

i just started using visual studio's text editor, i used to be a 100% notepad advocate. - Tom Anderson
(8) I don't understand why so many people are proud using Notepad for html editing. - cschol
I don't either. However, using something like Notepad++ or Textpad which has syntax highlighting, and macros, is a step in the right direction. - Kyle B.
Notepad++/Textpad are not WYSIWYG editors... - Andrew G. Johnson
(13) Is it that uncommon to use Dreamweaver and still do all of the code by hand? You can simply ignore the WYSIWYG editor feature if it offends you and enjoy all of the other features. - Rowan
(1) I like the WYSIWYG when I occasionally have to draw polygons on an imagemap - willoller
(12) WYSIWYG for HTML makes my skin crawl. >.< - Ben Blank
I've hand-coded websites (proudly so) for almost 10 years now. Why go back now? I only ever used a WYSIWYG for image maps because they were difficult--but I only did them early on, and then never again. - The Wicked Flea
Image maps be nasty stuff. - random
Absolutely right - Pooria
(4) I use separate tools for making image maps, not a full HTML WYSIWYG like Dreamweaver. Otherwise, Vim ftw! - strager
(7) I've worked with a lot of developers over the last 10 years or so, and the good ones all hand code. So using a WYSIWYG tool is probably a good indicator of that "it's just a job" mentality. - chris
I hand code using snippets to be more productive. - bchhun
TextMate on Mac; VS.NET, Dreamweaver or e on Windows but no WISIWYG for me. I love the control. - sjmulder
Although poingant, the answer currently below this is far more explanatory. - Mark Canlas
I use Dreamweaver for the intelisense, find and replace and the file browser to be able to work on a site entirely in one app. I rarely go into the Visual layout though. Are there any alternatives that would give me just as good experience, and run leaner? - optician
Is there an easy way to manipulate html table cells on a text-only editor? Dreamweaver makes that really easy. With say, vim, you have to rearrange colspans, rowspans, etc. - Adriano Varoli Piazza
@cschol: I can't tell you why people are "proud" to use it but I can tell you why it's better. Lightweight, can be saved quickly with [CTRL]+[S], can be closed quickly with [ALT]+[F4], can be [ALT]-[TAB]'d over to your browser (where you can hit [F5] to see changes). Besides... in HTML there are only about four or five tags you'll ever use and not very many attributes either. I'd much rather look at the code and see exactly what's going on rather than trying to figure out how to do what I want in a WYSIWYG editor (which often produces crappy code anyways) - advs89
@Adriano - I cannot think of many cases when you even have to rearrange colspans and rowspans like that, unless, of course, you're using tables for layout, which raises several other problems. - MiffTheFox
@Miff: no, it was a complex table for complex tabular data, and suddenly I had to remove a couple of cells and move others, fixing the rowspans and colspans. A WYSIWYG interface made it much easier. I don't mean they're many cases, just that the program saved my butt. - Adriano Varoli Piazza
[+105] [2009-01-02 05:00:27] Andrew G. Johnson

Hand code.

Frankly I look down on developers that don't.

The reason is that I've never met someone who uses a WYSIWYG editor that has a firm understanding of web semantics and how to use XHTML/CSS properly. Sure a lot of you are going to say "I use Dreamweaver but I could reproduce the same with Notepad" but the fact of the matter is that these are the types of people that just slap images and spacer.gif images into a table to create a layout and don't understand why that's not the best way to do things. These are the types of people who think doing things properly are a waste of time and as long as it looks decent on the browser they're using (which coincidentally is most likely to be MSIE) they'll move on and say I'm wasting my time making sure my tags are used correctly in the semantic sense and using to ensure it looks close enough to what I want on ALL browsers.

Apparently this post deserved a down vote? - Andrew G. Johnson
I didn't think so, but the other answers got a down vote as well. ??? I kind of wish people who left down votes would say why. - John MacIntyre
Don't worry about the votes - Steve Kuo
@Andrew G. Johnson, A downvote is not that surprising, it is pretty arrogant to say you look down on people, especially as you haven't even said why your position is any better. Divulging that behaviour publicly is bound to get you some negative feedback. - Simon
(4) even if you're right :) - annakata
"why is this answer in community wiki mode?" ... I beleive it's in community mode because the question is in community mode. I did this since it was more of a poll than a question. - John MacIntyre
(7) @Simon: He gave his reason why: "The reason is that I've never met someone who uses a WYSIWYG editor that has a firm understanding of web semantics and how to use XHTML/CSS properly.", and he's quite correct about this statement. - Dave
I agree that WYSIWYG editors are a poor way of making websites, but I completely disagree that developers have to hand-code everything. More often than not a lot of developers will use IDE's to save time, filling in tags and the such. - Mike B
(3) @EnderMB, and more often then not a lot developers do not understand the first thing about web semantics or valid XML documents - Andrew G. Johnson
-1 for bad attitude. Don't look down on people for not doing things your way. Look at the result of their work, and then look down on them if the result is crappy in some kind of objective way. - erikkallen
(1) @erikkallen, did you read my whole post or did you stop after the first line? - Andrew G. Johnson
I guess both should be balanced to get the most productivity and browser compatibility. - etsuba
@etsuba, my feeling is 2 hours to do something right instead of 1 hour to do it incorrectly is justifiable - Andrew G. Johnson
(1) It's not about whether the stereotype of a WYSIWYG developer as less skilled is correct or not (though for the record, I think it is) -- it's about the attitude that you "look down on" a less skilled developer at all. So what if they're inferior? That doesn't make them less of a person. - nezroy
@nezroy, I don't like the use of stereotype. Simply because using a WYSIWYG is a choice you make. It's not as though I am judging someone by the color of their skin, I judge their ability to program based on whether or not they use an application to program for them. - Andrew G. Johnson
(4) Also, obviously I don't look down on them as a person. I'll still have a beer with a WYISWYG programmer, just if I have to choose between being on a team with a notepad web developer or a dreamweaver developer (and no other information is given) I choose the first any day of the week - Andrew G. Johnson
(3) +1 for honesty and truth; if you don't know (X)HTML or CSS enough to make the website without a WYSIWYG editor, then please don't subject the rest of us to the achy-breaky code. The practice is the problem, not the person. (Unless they are the ones that MAKE WYSIWYG programmer's editors... ;-) - The Wicked Flea
Wow, simply perfect, you got it right to the point! To force myself to learn (X)HTML/CSS & cie. fast, I prevented myself from using WYSIWYG editors. Back in the days when I used Microsoft VS, I never used the WYSIWYG functionality. I did the same thing each time I had to learn a language, and now, I can code entire projects or websites in SciTE (I hate notepad) with very few compability problems. It makes me think, Eclipse, which is a great IDE for any type of developer, doesn't even have a hint of WYSIWYG. It's pure hand code from the start to the end! - xav0989
@afroxav -- notepad is silly for multi file projects if I saw a guy using notepad exclusively I'd have some questions for him - Andrew G. Johnson
@Andrew, notepad is practical when you need to edit quickly a single file to correct a bug. Otherwise IDEs are pretty usefull. - xav0989
(1) @xav0989 - like I said anyone who uses notepad EXCLUSIVELY has some questions to answer - Andrew G. Johnson
[+45] [2009-01-02 05:59:51] TM

Hand code, but whenever possible, not from scratch. I try to find something that is similar, then "transform" it into what I want.

(20) This is pretty common and a great way to not only do things quickly (it's the snippet approach) but also passively learn more about it by seeing how other people do things. Software is, for the most part, evolutionary. - Nick Gerakines
@Nick I wish I could +1 ur comment. - Devoted
+1 to "Do not reinvent the wheel" - dmarucco
[+14] [2009-01-02 05:30:05] Cyril Gupta

I hard-code all my HTML cause using a WYSIWYG writer is near about impossible for writing pretty CSS... For example take the auto-styling feature in VS 2008. If you've got a table and you drag your mouse by mistake, it will automatically create a style for you like - Style1 and add it to your browser's stylesheet.

This sort of behavior is very pesky, and that's exactly what a good programmer wants to avoid, cause it's NOT at all helpful.

So I hard-code my page, and then preview it in the designer (or the browser).

But I like using WYSIWYG editors for the quick preview (loading in the browser takes more time).

You hard-code it? Come on, the days of static websites are long gone ;-) - Wayne Koorts
[+12] [2009-01-02 16:54:56] Ubersoldat

Keyboard coded... my screen gets all ugly when I try to code with my hands.

[+11] [2009-01-02 05:36:36] tvanfosson

I use C-x M-c M-butterfly [1].

Not really (but I would). I use hand-coded HTML (plus HtmlHelper extension methods in ASP.NET MVC). Sometimes in ASP.NET WebForms I will use the VS designer for things like data sources and setting up bound controls, but that's really about all I find useful in it.


[+6] [2009-01-02 05:45:52] Nick Gerakines

Hand code with some sort of preview mechanism. I use TextMate for the most part so preview in [browser of choice] is just a hot-key away.

[+6] [2009-01-02 16:17:21] Darryl Hein

I do both: WYSIWYG & hand coding for different reasons.

I often use a WYSIWYG for adding a lot of text to a website (so it adds p tags and deals with weird Word characters) or if I have an absolute positioned div for which I want to drag to position that div (and then I hand code the exact position).

Otherwise, I will usually hand code the actual HTML "template" of the site or any other tweaks needed.

But, I do use a WYSIWYG for the autocomplete--it makes writing the HTML faster and I don't have to search the internet all the time for the exact property. Depending on the WYSIWYG, it can also help find something in the mass of HTML that results: click on the image and it's highlighted in the HTML.

(1) This is really the best way to do things. Get the control of hand-coding combined with the productivity of wysiwyg. Templates are essential (template system in DreamWeaver, master pages in ASP.Net 2.0+). - sfuqua
(1) +1, WYSIWYG editors are NOT the spawn of Satan. They do basic text processing perfectly well. I often use them to create paragraphs, lists and some basic formatting, then copy-paste the code into my text editor. WYSIWYG editors are also good for auto-indentation. - DisgruntledGoat
Programmes like WeBuilder will fill in tags for you. When you write an opening tag, the closing one automatically appears. It's hand-coding, but it's quicker than typing everything yourself. Certainly easier than Notepad! - TRiG
weird Word characters do you mean Unicode? Unicode wasn't born with Word. - Camilo Martin
[+5] [2009-01-02 05:44:22] nezroy

Hand code. It's not that I'm snobbish about it; I excitedly try every new graphical/WYSIWYG web-development tool/IDE I can get my hands on because I would love to someday find a tool that helps me be more productive. But after a few weeks of fighting against the latest and greatest editors, I always come back to hand coding with Notepad++ or jEdit.

[+5] [2009-01-03 21:15:14] community_owned

For every task there is a tool... even if it isn't cool

Among freelancers (no corporate experience, here, alas), most nearly all markup and styling is done (surprise!) in text editors, but I know not a single freelancer who doesn't sport a copy of Dreamweaver or somesuch as well, and not just for working with existing sites.

Especially when it comes to creating large or complex tables (or dealing with sites coded in table layouts), counting tags to find that one cell is mind-numbing and slow. Occasionally it is also faster to drag-and-drop or copy-and-paste data from documents or pre-existing sites into a WYSIWYHYG to fiddle with, or build a table structure from scratch where you can see it as you go, and then snip the resulting HTML back into TextMate or vim or whatever.

Of course you'll do your CSS by hand, because cross-browser CSS is something people can barely do, much less teach computers to do, but sometimes the "WYSIWYG"s are just the right tool.

(3) Hello, KEM. I'm Dave. I work 100% freelance and I do not have (legally or otherwise) any copies of Dreamweaver or similar software. But, then, I'm a programmer who often gets dragged into web projects, not someone who primarily does design work. - Dave Sherohman
I don't have Dreamweaver anymore. I used it for a couple weeks then got rid of it because it was too bloated. - sirlancelot
(1) I'm contractor and never used Dreamweaver! - Nosredna
I didn't say that there aren't any freelancers who don't use WYSIWYHYGs! I for one, would be happy to trade places with any of you. I've got a copy of Dreamweaver, but that doesn't mean i like firing it up. Good luck to all! - community_owned
[+4] [2009-01-02 17:11:18] macinjosh

Hand coding is the best option, because WYSWIG editors can too easily create extra unnecessary markup and cause failures in validation.

On the other hand some of the junior developers at my work use Dreamweaver's server behaviors to write PHP and ASP for them.

+1 Hand-coding is the better of the two options ... correctly worded! - mattruma
I learned PHP by starting from Dreamweaver's server behaviors. I didn't quit there, of course. - chaos
[+3] [2009-08-28 14:12:22] Bruno Simões

I don't feel any necessity of heavy and sometimes slow software to produce 'dirty' code. For that reason I do hand code.

[+3] [2010-06-09 20:32:35] Chris Kaminski

FireFox + FireBug. That's all I need. I get interactive CSS/HTML visualizations in a browser that I love to use.

i use the same combination :) - Joe Hopfgartner
[+3] [2009-01-02 05:45:37] community_owned


Programmers who value control over simplicity, programmers that do a lot of CSS, programmers that have experienced too many wastes of time debugging code that was generated FOR them... when they could have written it themselves and saved time in the long run.

I have experienced, that many novice ASP.NET programmers using the WebForms style framework are more likely to use a WYSIWYG editor... because it is handed to them, and they're used to making WinForms apps. As they develop their skills they will likely move on to the handwritten code. That is if they ever want to get any better at what they do.

I'm not certain there has ever been a scientific inquiry as to what the ratio is. Those who prefer the WYSIWYG as opposed to those who don't. Sadly I cannot answer that portion of your question.

[+3] [2009-01-02 05:37:32] PhoenixRedeemer

Hand code, absolutely. I hate editors.

(7) <smartass>What, then, do you write your code in if not an editor?</smartass> - Ben Blank
(1) Hand-written. It's the only way to go, of course. - PhoenixRedeemer
[+3] [2009-01-02 12:18:20] Angelina

Why not designers too? Designers don't just work in Photoshop and they're not code-illiterate. Your questions should be directed at designers as well, as I'm sure there are plenty of designers who will surf here given the overlap between design and development in web development.

Every good designer and developer that I have ever met hand codes all HTML, CSS, and usually JS as well barring use of libraries such as jQuery and MooTools. Still, even then they write all their own jQuery by hand as well.

Unless by some miracle the companies proliferating WYSIWYG editors decide to acknowledge what standard markup is and why it is important, stay away from such atrocities. Not only that, but they would need to spend the money to have their editors output standard abiding code in a way that is at least somewhat reliable.

Until that mystical, miracle day - WYSIWYG: Die in a fire.

[+3] [2009-01-02 08:38:20] Mafti

Hand code, hands down ;)

(1) So where exactly do you keep your keyboard? ;-) - sjmulder
[+2] [2009-01-02 05:25:07] Tim K.

I hand code.

I went through a brief period of using a WYSIWYG editor... but when it comes down to it the amount of overhead that it requires for the few benefits you can get can all be replaced with a solid text editor that supports saved code snippets and syntax coloring. Don't let people lie to you and say WYSIWYG's speed up development - because if you are using the right editor, it's not a problem.

[+2] [2009-01-02 17:03:58] arshad

I am fond of Microsoft Expression Web [1].


[+2] [2009-01-02 04:58:37] John MacIntyre

WYSIWYG-I almost always or always use a WYSIWYG editor

(1) It seems you're the only one here who has answered WYSIWYG. I'm curious: why? - strager
(3) Oh, nevermind -- I realize the intent of this post. Up-vote this if this is your answer, I see, and the "HAND CODE" one if you're in that bracket. =] - strager
[+2] [2009-06-13 21:04:01] Jas Panesar

I like auto-complete. My head is free to focus on the solution instead of dancing with syntax.

[+2] [2009-01-04 16:26:42] TheTXI

I tend to use a mixture of both. With ASP.NET I'll hand code much of the underlying structure of the page (Divs and such) and after that I'll fill in controls using the WYSIWYG and then go back into the source view and hand code over it to make sure it is exactly how I want it before finalizing.

The vertical split view in VS2008 SP1 makes this so much easier too. - devstuff
[+2] [2009-01-08 21:05:28] nes1983

Almost all professionally-done HTML I've come across was clearly not done in a WYSIWYG. That's not to say that I am against WYSIWYGs. I guess you can make a nice page about your wife and your dog and your children with iWeb or so. And that is not evil.

I think the reason is that HTML encourages the separation of content and layout a lot. If you separate wisely, you are rewarded with small download sizes, beautiful HTML code, easy maintainability, ease of changing the layout, or mending it, and so forth. (Side note: This separation of content and layout works so much better in HTML than in LaTeX, for me.)



[+1] [2009-02-06 14:43:33] jeroen

A combination.

It´s impossible to use a WYSIWYG editor to design / develop a modern web-site, hand coding is the only way to go.

However, a program like dreamweaver is very useful to rapidly paste and format content, especially if that content has lots of accented characters or other kinds of characters that need to be translated to have a web-site that validates.

Not all web-sites are in plain English. I have even added pages in Japanese and that definitely would have taken me a very long time using just a text editor.

Every tool has its use, as long as you know how to use it well.

[+1] [2009-02-06 14:57:22] Tommy

I hand code my HTML/CSS and so does every web developer/designer I know of.

[+1] [2009-01-02 17:35:49] Jeff Warnica

Hand code HTML & CSS, but inevitably use Firefox Web Developer toolbar to edit CSS with a real-time display.

[+1] [2009-03-06 02:19:11] Zeljko Dakic

I think you will find that both designers who are any good and all real developers hand code. Still, because dreamweaver has really good handle of html, it is one of the best editors for html. I don't think I switched to design view in years and mostly because it is not useful at all as it don't display details that are different between firefox and ie, and increasingly new browser like chrome and safari.

[+1] [2010-11-03 18:53:03] MiffTheFox

For everyone saying that they're using WYSIWYG editors instead of autocomplete:

WYSIWYG editors and IDEs are not the same thing!

For example, if you code ASP.NET in Visual Studio, you can take full advantage of all the text-processing features without laying a finger on any sort of designer. (I think this is how it works if you use MVC, but I'm not entirely sure.)

If you use a "WYSIWYG" editor but don't touch the actual WYSIWYG features, it's still hand coding as much as it is if you were using Notepad.exe.

Just my two cents.

[+1] [2009-01-02 05:13:05] DFectuoso

Hand code is the only real method for me...

[+1] [2009-01-02 05:35:18] Telos

Yeah, hand code it here too. About the only time I use the editor in visual studio is when I can't remember a tag name... just drag it onto the pane, go back into code view and cut/paste it where I really wanted it.

[+1] [2009-01-02 05:49:24] melaos

Hand code with notepad++ and preview via browsing.

I feel i have more control this way without having to worry about some IDE sneak meta data into my html. Plus i have that ease at mind knowing that i code this baby myself.

[+1] [2009-01-02 05:55:51] Khnle

Handcode. The primary reason is at the end of the day, with a wysiwyg, I find myself ending up with many more more undesired effect.

[+1] [2009-01-02 16:29:12] Dave Sherohman

I would argue that creating static HTML files (the only thing that most WYSIWYG tools even claim to do) is "design" work, not "programming" work.

For actual "web programming" (i.e., writing software which receives input and uses it to produce HTML pages as output), templating systems are the only way to go. I create my templates by hand and would do so even if there were WYSIWYG tools out there which worked directly with the templating systems I use. On the rare occasion that I need to create a static page, I also do that by hand.

An ASP.NET web page is not too different from a forms standalone application. It can sure be argued that laying out controls on a form is also design, but usually developers do it. How do you create a form? Do you use an editor or do you write all code to create the right control in the right place - erikkallen
[+1] [2009-01-02 09:31:49] community_owned

Hand Code 110%.

[+1] [2009-01-02 09:43:45] andyk


An WYSIWYG editor might come in handy though, when all I want to do is to create table layouts to be used in an environment where CSS support is unreliable, for example, email contents.

[+1] [2009-01-02 09:45:22] Alec Smart

Hand Code.

[+1] [2009-01-02 06:43:08] hasen j

I hand-code most of the time

See, the thing is, in web development, no single file ever holds the entire page, I use a template system and organize files so that there's a root template (holds stuff common to all pages), and other files extending by injecting various stuff in various blocks. So, a wysiwyg doesn't even make sense really.

I have to admit though, sometimes I use a wysiwyg as a reference, say, if I want to create a certain look and I'm not sure how to make it by myself, I create a draft in the wysiwyg (usually ExpressionWeb) and look at the generated code to take some ideas.

[+1] [2009-01-02 06:59:19] Chris Nava

Hand coded. I sometimes use the output of a WYSIWYG editor that someone else (a graphic designer) has used. But I always clean up the result and make it as clean and compliant as possible (while still maintaining the formatting.)

[+1] [2009-01-02 06:09:15] Chad Okere

If you're just doing plain HTML pages, it might make sense to use a WYSIWYG editor. But when I tried them back in the 90s' just just became frustrating because it wouldn't do "what I wanted". They might be better these days, but since it's so easy for me to write HTML by hand quickly, I don't feel like I really even need to be more productive.

And of course if you're going to write code to generate HTML, or modify the DOM using javascript it would be pretty difficult to use a WYSIWYG editor for that.

[+1] [2009-01-02 06:36:55] Tim Post

I always hand code HTML/XHTML .. its really not a slow process once you get used to doing it. I don't use WYSIWYG because:

  • Many toss in extra markup or clobber my indentation
  • It takes me longer (in many cases) to figure out how to get the editor to do what I want it to do vs just writing it myself.
  • I almost never use tables, or other tags which editors simplify

Even when writing programs, I use a VERY minimal editor that has agreeable syntax highlighting and a snippet library, that's all I enable. I really don't care for code completion / suggestion , etc .. especially on trees where I have 300 + open files in tabs.

[0] [2009-01-02 06:43:06] Glenn
  • Web designers sometimes use WYSIWYG to get to high fidelity mock-ups quicker.
  • WYSIWYG is also used by SMEs and functionality people to quickly communicate an idea visually.
  • Good developers would never use, and will never use, WYSIWYG because all that a WYSIWYG can capture is a visual drawing of a web page. A web site needs to be well structured, from a mark-up perspective, in order to reduce the amount of work required to implement the near endless stream of visual changes called for in a successful web site. That good structure is not based on visual layout du jour. Rather, it is based on the structure of the data itself. Try to use CSS as much as possible to do the proper layout. That way, changes down the road will be easier because all you have to do is change the one CSS file instead of making similar changes to every web page. You'll never be able to accomplish that with WYSIWYG. See CSS Zen Garden [1] for information on this.

I must be a bad developer ... I sometimes use a WYSIWYG editor! ;) The word never should be stricken from a good developer's dictionary. - mattruma
[0] [2009-01-02 09:19:34] Gnudiff

If you are creating any web application or page that spans more then a couple HTML files, you will be way more productive by using a templating system (which one - is typically dependent on the programming language you use, or, if you are not really doing dynamic pages - whatever is available on the server).

The reason is that in order to achieve consistent look for your pages, you will have lots of repeating blocks of HTML (interspersed with code in dynamic pages). Partially this is solved by CSS, however, in any kind of dynamic pages you will need to include mixed HTML/code snippets in other pages. A templating system allows you to extract the repeating blocks in seperate files and insert them where needed, thus reducing need to re-edit tons of files, if you have to change something globally.

A typical example in PHP, which does not actually use any templating system, just the built-in PHP possibilities, is:

<? include('../templates/header.php'); ?>
my html and php mix goes here
<? include('../templates/footer.php'); ?>

The advantage is, obviously, that if you need to change something in the web page header in all your pages, you change that in just the header file.

I do not know any WYSIWYG editor that supports any templating system (not to speak of arbitrary templating systems) well enough to render the result accurately, especially if you wish to add programming language code.

[0] [2009-01-02 05:58:20] Patrick Lin

I don't see why any web programmer would use a wysiwyg editor, especially if there's going to be code embedded in the HTML. It just seems more efficient to me to code while HTMLing.

Notepad++ and (W|L)AMP for me.

[0] [2009-01-02 05:06:18] ChrisW

I'm writing an editor. :)

Incidentally, I wonder whether is a good editor ... maybe it is, and doesn't have the problems you mentioned in the OP.

[0] [2009-01-02 05:07:50] scunliffe

You can (if you want) whip up a layout with a WYSIWYG editor, but after that, its HAND CODING all the way.

[0] [2010-11-03 18:59:41] Tom W

Not a web programmer; I'm an app dev, but when I've dabbled in web stuff my answer would be "both".

Mock it up in WYSIWYG, then compare what it thinks is the right syntax with what I think is.

Visual editors are also useful for fiddling with visual styles, then extracting the code for those settings and copy-pasting where I want it.

[0] [2011-01-03 23:50:48] freesoul

Well if you are using a lot of javascript is imposible to use a WYSIWYG EDITOR so for a designer without any knowledge of programming is cool to use Dreamweber but for a real life complex web application is almost imposible to use it, just think is how you are going to debug your code with dreamweaber if everithing is dinamic, this debugger option convert to VStudio awesome!!!! you also can use of course firebug :)

HAND CODE is the way we have to do it.!!!!

[0] [2011-03-13 05:33:22] c-smile

A bit extreme but I have designed my own WYSIWYG editor. Two actually. And use them a lot in cases when I need to write basically structured text like blog articles, etc.

E.g. this article was written in the WYSIWYG editor, its screenshot is at the bottom of the article. The editor emits structural semantically meaningful markup. That can styled differently as you see.

[0] [2009-05-31 16:38:17] community_owned

Hand code.

[0] [2009-05-31 16:55:54] Nick

Hand-code for the most part, though the UI (Visual Studio) is handy for adding events to server controls; a double-click saves writing out the method signature and wiring it up..

[0] [2009-06-25 04:46:51] community_owned

Hand code.

I learned HTML back in 1994 and have been hand coding all my coding since. I can't stand WYSIWYG editors. I've tried dreamweaver, but found that aside from the general layout of the page, if I want anything to display correctly, I would have to go over the automated codes myself and edit them to make sure the website displays the way I want them to look.

[0] [2009-07-07 17:04:45] NateDSaint

I think hand-coding is probably the most common answer. I don't really think using a WYSIWYG editor is helpful unless you're developing a Dreamweaver template for a client or trying to test something in a specific environment.

That being said, I still prefer to speed up my tasks by using at least some level of IDE, if not just a modified text editor. When I worked at a marketing firm, everyone used Panic! Coda, since everyone was on a mac laptop. Now doing internal web dev for a bigger firm, I spend about 90% of my time in VIM, and 10% in notepad++.

For freelance work I use Dreamweaver CS4, but I spend 99.9% of my time in code view, switching to design view to check on things as I go, but then doing all of my actual browser testing in-browser for every platform.

[0] [2010-10-01 04:05:03] ShiVik

Hand Code Forever. These days more so since I've started using Zen-Coding [1] available in most of the recommended editors.


[0] [2010-11-01 08:06:13] C-Ram

I use a WYSIWYG editor, but only for the intelisense, saves me a lot of time. I guess that falls somewhere between hand code & WYSIWYG. Personally, I feel that the rendering engines in these editors don't reflect the true look of the site.So I'd rather prefer hitting refresh on Firefox.

[0] [2009-09-01 11:37:22] Simon

Handcoding. If you looking for errors in your and you code it with an WYSIWYG editor ... then good luck

[0] [2010-04-09 14:16:06] Mick

Hand-code in Zend [1], Dreamweaver [2], or Eclipse. Using Notepad is basically inefficient. It's so much more efficient to use an editor that color-codes for you. I like my CSS pink, my IF statements blue, and my globals green. Sue me :)


[0] [2009-01-02 23:40:35] community_owned

Handcoding. Always superior - especially when you deal with CSS and Javascript.

[0] [2009-01-04 12:13:50] Lucas Jones

Hand-code, unless I only have a Notepad-like text editor available, but Dreamweaver is installed - which unfortunately is the case in a lot of schools :(.

[0] [2009-01-04 13:01:13] mattruma

Both serve a purpose, and I think it silly to commit one way or the other. You have to look at the task at hand and choose the best tool for the job. I do hand-code more than using a WYSIWYG ... but for putting together a prototype of mock-up ... you can't beat a WYSIWYG when you are pinched for time.

[0] [2009-01-05 01:26:59] dylanfm

I handcode. I use textmate. Its snippets help me to be very productive.

[0] [2009-01-05 17:01:00] Jas Panesar

Handcode with Dreamweaver. Don't use the wysiwyg side of it.. Has a good auto-suggest that works as it should.. If I ever need to see it in design mode I can have a look.

[0] [2009-01-05 17:13:41] erikkallen

A combination. I always structure the page by hand, but I use Visual Studio to move those absolutely positioned divs until the page looks good. You have to be very careful about what you do in a WYSIWYG editor, though, one false move and your page is a mess. Fortunately, VS is quite good at not modifying parts of the page that you didn't touch.

[0] [2009-01-05 17:23:47] Stephen Cox

Well I'll admit it, I use Dreamweaver. To write the HTML I don't want to write. I don't use it for CSS though. Or any scripting language (DW's PHP is ancient). But page layouts, prototyping - mostly whatI use DW for. And until everyone stops using IE6, I still use tables too. So there. ;)

I've also written and sold extensions for DW. And they've sold VERY well. I suspect many use a WYSIWYG editor and don't want to admit it.

[0] [2009-01-05 17:44:05] community_owned

Can't speak for "most," but I and the other web devs in our shop hand code our logic (PHP, Django, etc.) As far as UI is concerned, we take a Photoshop mock-up and build up our CSS and HTML layout to match as close as possible.

So, NO.

[0] [2009-01-08 21:01:37] community_owned

Hand coding is the way to go. You'll learn a lot more by making mistakes and finding solutions than you will by pointing and clicking in a WSYWIG.

[0] [2009-03-06 01:58:07] community_owned

Both. I hand code, and use the WYSIWYG for previews. Also use Firebug [1] for other layout and weird CSS things. Using VS2008. It has its ups and downs, is slow, but at times can be powerful with all the built-in MS ASP.NET crap that goes with it, but... also limited with that built-in stuff too.


[0] [2009-03-06 02:18:48] Hugo Peixoto

Hand Code.

[0] [2009-02-06 14:48:40] Billy Coover

I use the VS 2008 split view feature so that I can visually see my horrible design ability come to life. I'll be honest, I may cheat and drop some items in from the toolbar to save some time, but manually editing gives you total control.

[0] [2009-01-30 21:21:10] Clayton

By hand.

WYSIWYG cannot show you what it looks like across a range of browsers, displays, hand-helds, etc. So don't give yourself a false sense of confidence by using a WYSIWYG tool.

Write HTML that validates, test it with as many browsers and devices you can get your hands on, use to supplement.

The proof is in the pudding and the only "WYS" that means anything at all is in the browser.

[0] [2009-01-31 14:20:16] elbicho

I do hand code, for me it is faster and clearer that WYSIWYG.

[0] [2009-02-01 18:08:34] Cumatru

I can't use WYSIWYG. I get so excited when i'm coding, so i can't take that pleasure away.

[0] [2009-02-01 18:28:43] Nosredna

Hand code, but I'm amazed that someone hasn't addressed this problem and made a tool that helps instead of hinders. Some smart person out there will do it someday.