Provide four tips and hints for keeping your HTML code error free.

What will be an ideal response?


• Type all code in lowercase. Type your HTML code in lowercase, but type content as you normally would.
• Filenames should also be typed in lowercase, using only letters and numbers. Avoid using the numbers 1 and 0 in filenames because they are too easily confused with the lowercase versions of the letters L and O.
• Paragraph your code by indenting elements that are inside other elements. Indent tags that are embedded in sections or other containers. You could enter all of the elements and content in a Web page one after the other on a single long line and Web browsers would still render your code. However, paragraphing code neatly is an industry best practice because it ensures that code is easy to read and, as a result, much easier to troubleshoot.
• Use vertical white space. A blank line or two separating paragraphs, headings, and other sections of HTML code ensures the code sections are easy to find. This also helps to minimize troubleshooting time.

Computer Science & Information Technology

You might also like to view...

Modify the DewPoint and WindChill functions in weather.js to implement these more robust definitions. In particular, both functions should return NaN if called with invalid inputs, and the WindChill function should be updated to handle calm winds. Test your modified functions in your indexes.html page to verify that they behave as desired.

What will be an ideal response?

Computer Science & Information Technology

Page guides are useful when you need a guide at the same location on all pages in a spread.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The Advanced sharing setting that enables the computer to locate other computers and devices on the network and enables these computers to locate your computer is ____________

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which DNS server queries data from other DNS servers and stores the information in the cache until its expiration date?

A. Master server B. Slave server C. Caching-only server D. Forwarding server

Computer Science & Information Technology