Skip to main content
Participant
July 29, 2016
Answered

エラーの修正について

  • July 29, 2016
  • 1 reply
  • 29609 views

コードのエラーについて Special characters must be escaped :[<].と出たのですが、これは「<」を取れということですか?

超初心者ですいません。

This topic has been closed for replies.
Correct answer nmatsuo5

エラーの意味としては、『「<(不等号記号)」はHTMLのタグとして使われ意味を持った特殊文字ですので、エスケープ文字を使うようにしなさい』というものです。

文章内に不要な「<」を残している場合にも表示されるので、仰るとおり削除すればエラーは出なくなります。

エスケープ文字には以下のような組み合わせがあります。

< のエスケープ文字は  ”&lt;”  

> のエスケープ文字は  ”&gt;”.

& のエスケープ文字は  ”&amp;”

” のエスケープ文字は  ”&quot;”

こちらのフォーラムでこの文字を入力すると変換されてしまうかもしれませんので、念のため全角で記述しています。他にもありますが、ご参考まで。

また、Dreamweaverのデザインビュー上でこれらの文字を入力すると、自動的にエスケープ文字に変換してくれます。文章内でこれらの文字を使う場合は、デザインビューの方で入力すると楽です。

1 reply

nmatsuo5Correct answer
Inspiring
July 30, 2016

エラーの意味としては、『「<(不等号記号)」はHTMLのタグとして使われ意味を持った特殊文字ですので、エスケープ文字を使うようにしなさい』というものです。

文章内に不要な「<」を残している場合にも表示されるので、仰るとおり削除すればエラーは出なくなります。

エスケープ文字には以下のような組み合わせがあります。

< のエスケープ文字は  ”&lt;”  

> のエスケープ文字は  ”&gt;”.

& のエスケープ文字は  ”&amp;”

” のエスケープ文字は  ”&quot;”

こちらのフォーラムでこの文字を入力すると変換されてしまうかもしれませんので、念のため全角で記述しています。他にもありますが、ご参考まで。

また、Dreamweaverのデザインビュー上でこれらの文字を入力すると、自動的にエスケープ文字に変換してくれます。文章内でこれらの文字を使う場合は、デザインビューの方で入力すると楽です。

scorp49Author
Participant
July 30, 2016

ありがとうございました。

2016/07/30 16:07、nmatsuo5 <forums_noreply@adobe.com> のメール:

エラーの修正について

created by nmatsuo5 <https://forums.adobe.com/people/nmatsuo5> in Dreamweaverコミュニティフォーラム (Japan) - View the full discussion <https://forums.adobe.com/message/8910615#8910615>

エラーの意味としては、『「<(不等号記号)」はHTMLのタグとして使われ意味を持った特殊文字ですので、エスケープ文字を使うようにしなさい』というものです。

文章内に不要な「<」を残している場合にも表示されるので、仰るとおり削除すればエラーは出なくなります。

エスケープ文字には以下のような組み合わせがあります。

< のエスケープ文字は ”&lt;”  

> のエスケープ文字は ”&gt;”.

& のエスケープ文字は ”&amp;”

” のエスケープ文字は ”&quot;”

こちらのフォーラムでこの文字を入力すると変換されてしまうかもしれませんので、念のため全角で記述しています。他にもありますが、ご参考まで。

また、Dreamweaverのデザインビュー上でこれらの文字を入力すると、自動的にエスケープ文字に変換してくれます。文章内でこれらの文字を使う場合は、デザインビューの方で入力すると 楽です。

If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/8910615#8910615 and clicking ‘Correct’ below the answer

Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:

Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/8910615#8910615

To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"

Start a new discussion in Dreamweaverコミュニティフォーラム (Japan) by email <mailto:discussions-community-international_forums-japanese-japan_dreamweaver@adobe-v8.hosted.jivesoftware.com> or at Adobe Community <https://forums.adobe.com/choose-container.jspa?contentType=1&containerType=14&container=4068>

For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624 <https://forums.adobe.com/thread/1516624>.

This email was sent by Adobe Community because you are a registered user.

You may unsubscribe <https://forums.adobe.com/unsubscribe.jspa?email=ike_masfm%40icloud.com&token=862d21a1392072af1be1c4e055b4588cc0829cf79c6fefac1fa71bdb8b78a6ce> instantly from Adobe Community, or adjust email frequency in your email preferences <https://forums.adobe.com/user-preferences!input.jspa>