Skip to main content
iphil89
Participant
April 29, 2020
Question

multiple errors: Special characters must be escaped

  • April 29, 2020
  • 3 replies
  • 1105 views

Hello Internet,

I'm trying to create an offlline Website whichs includes multiple Links to Videos on my NAS.
Now... at the end im getting multiple Error who says that i didnt escaped the Special characters.
Can someone help me plz?

 

<h1 id="ebs"><font><font size="10";color=#002F5F><b>SITE 1</b></font></h1>

in this type i got 2 Errors: [<] and [>]

<a> <a href id"seitenanfang" style="color:darkslategrey;text-decoration: none"><p><font size="2"><center>zum Seitenanfang</center></font></p></a>
	</footer><footer></footer><h1 id="SEITE2"><font size="10" color="#002F5F"><b>SEITE2</b></font></h1><footer>  

same there - also 2 errors 

<a><a href id"seitenanfang" style="color:darkslategrey;text-decoration: none"><p><font size="2"><center>zum Seitenanfang</center></font></p></a>

2 Errors [<] and [>]

><a><a href id"seitenanfang" style="color:darkslategrey;text-decoration: none"><p><font size="2"><center>zum Seitenanfang</center></font></p></a> 

onces more - and the last one: 

<section> <section class="footer_banner" id="contact" style="back; background-color: "white"><h2 class="hidden">Footer Banner Section</h2>



Heres the Code and the Problems - plz help me ♥

    This topic has been closed for replies.

    3 replies

    Nancy OShea
    Community Expert
    Community Expert
    April 29, 2020

    I guarantee the latest Dreamweaver CC did not create this code. 

    Where did it come from?

    Which version of Dreamweaver are you using?

     

    Suggest you start over after reading chapters and doing some code exercises.

    HTML tutorials - https://www.w3schools.com/html/

    CSS tutorials - https://www.w3schools.com/css/

     

    Nancy O'Shea— Product User & Community Expert
    WolfShade
    Legend
    April 29, 2020
    <h1 id="ebs"><font><font size="10";color=#002F5F><b>SITE 1</b></font></h1>

    So many things incorrect, here.  As has been pointed out, font tag is obsolete.  Same for <b>.  Just say "NO".

     

    Use CSS and the "ebs" ID for formatting.

    <style>
    #ebs{color:#002F5F; font-weight: bold;} /*font size can be set here, too */
    </style>
    
    <h1 id="ebs">SITE 1</h1>

    The following is nowhere near valid:

    <a> <a href id"seitenanfang" style="color:darkslategrey;text-decoration: none">

    The best thing for this:

    <a href="{A URL GOES HERE}" id="seitenanfang" style="color:darkslategrey;text-decoration: none">

    But, again, use the ID and CSS style to format it.

     

    As Jon Fritz stated, you have much to learn before getting elbow-deep in coding.  Fundamentals are paramount.

     

    Best of luck in your endeavors.

     

    V/r,

     

    ^ _ ^

    BenPleysier
    Community Expert
    Community Expert
    April 29, 2020
    <h1 id="ebs"><font><font size="10";color=#002F5F><b>SITE 1</b></font></h1>

    1. The font tag is obsolete

    2. There is an unclosed FONT element

    <a> <a href id"seitenanfang" style="color:darkslategrey;text-decoration: none"><p><font size="2"><center>zum Seitenanfang</center></font></p></a>
    	</footer><footer></footer><h1 id="SEITE2"><font size="10" color="#002F5F"><b>SEITE2</b></font></h1><footer>

     There are 7 errors in just this small sample of code

    1. href ????

    2. id"seitenanfang" ????

    3. font element obsolete

    4. center element obsolete

    5. unclosed a element

    6. stray footer end tag

    7. unclosed footer element

     

    I give up checking the rest

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    iphil89
    iphil89Author
    Participant
    April 29, 2020

    Hey Ben,

    thanks for reply - if i didn´t write the first font it says that the code have to start with font. Could you please correct your examples that i can give it a try - and try it on the other problems?
    It should be a link to the beginning of the site.

    im new to it...

    Thanks Phil

    Jon Fritz
    Community Expert
    Community Expert
    April 29, 2020

    You should take some time to understand the fundimentals of HTML before trying to use DW to create a website. For better or worse, the program assumes you unserstand it and will allow you to do pretty much anything, including writing completely invalid code that browsers won't understand. 

    Here's a website with some decent tutorials, and very helpful "Try it Yourself" links that allow you to play with the attributes of tags without needing to upload files to a server... https://www.w3schools.com/html/default.asp

     

    Fixing the line Ben highlights really does require a complete rewrite, it's only loosely based on HTML.