Typing code or using a visual editor
There are two ways to make a page. You can type the HTML yourself in a plain text editor, or use a visual page editor. A visual editor follows the WYSIWYG idea, “what you see is what you get”: you drag a picture, format a word, and the screen looks like the finished page. Underneath, the editor writes ordinary HTML, and it can show you that code in a code view. So the final result is the same kind of file, whichever way you worked. Which is better? A visual editor is quick for layout, but it may add code you did not choose and you may not understand it. Typing gives you full control and teaches you what each tag does, but it is slower. A good builder can do both and reads the generated code to check it. Here we only explain the idea; the steps depend on the program.
| Typing the code | Visual editor | |
|---|---|---|
| Speed for layout | slower | faster |
| Control of every tag | full | less |
| Learning what tags do | very good | needs the code view |
| Risk | typing mistakes | code you did not choose |
1<p>The <strong>router</strong> passes data.</p>The paragraph shows The router passes data. with the word router in bold.
| Job | Better way | Why |
|---|---|---|
| quick draft of the layout | visual editor | you see the result at once |
| fix one wrong link | typing | one word to change |
| learn what a button does | code view | shows the real HTML |
Write one paragraph (five sentences) saying which way you would use to build the club site’s first draft and which way to fix a small mistake later. Mention the code view and say why you must still read the generated code.