Dreamweaver Question

Dreamweaver is giving me this error

Special characters must be escaped:[<]



           <td width="15px"align="right"><p style="font-family: 'Century Gothic', 'AnoRegularRegular', Helvetica, Arial, sans-serif; color: #008c99; font-size: 16px; line-height: 20px; text-align: left;">&bull;&nbsp;
            </p>
            </td>


I think this is because you don’t have the correct character encoding for your page (the validator doesn’t recognize the ampersand at the beginning of the escape characters).

A couple of things you could try:

  1. Include the HTML5 !DOCTYPE declaration at the top of the document: <!DOCTYPE html>, or

  2. Set the charset to utf-8 in the head section of the document: <meta charset="utf-8">

But to be honest, which version of Dreamweaver are you using? The code seems very poor and out-dated.

Is this code generated by Dreamweaver? If so, you shouldn’t be setting the width and alignment of a table data cell in HTML; that’s now obsolete and should be done with CSS instead. Also, there should be a space between the width and align attributes (i.e. between the " and align).

If you are just starting to learn HTML/CSS then I recommend using a stripped down text editor like Notepad++. Save the development suite for later when you have a handle on the fundamentals and begin reaching for tools you understand. You are cluttering your learning environment at a time when things need to be kept simple.

text editor
browser

This is all you need, apart from some bookmarks to documentation.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.