이미지 저장을 하면 자동으로 뒤에 / 이 붙어버립니다. 정보
이미지 저장을 하면 자동으로 뒤에 / 이 붙어버립니다.본문
게시판에서 cheditor5 로 사용하여 이미지 저장 후
태그를 보면 아래와 같이 맨 뒤에 / 가 붙습니다.
<img width="743" height="583" style="border: currentColor" alt="1-3-12.jpg" src="data/cheditor4/1212/1494e1ee98e16550eab1b22ea54a6e1f_cRW29oYt7kur.jpg" />
/가 안붙게 하려고 하는데 방법이 있을까요?
태그를 보면 아래와 같이 맨 뒤에 / 가 붙습니다.
<img width="743" height="583" style="border: currentColor" alt="1-3-12.jpg" src="data/cheditor4/1212/1494e1ee98e16550eab1b22ea54a6e1f_cRW29oYt7kur.jpg" />
/가 안붙게 하려고 하는데 방법이 있을까요?
댓글 전체
저게 붙어 있어서 화면에 / 라고 출력이 되나요 ?
붙어야합니다
ㅎㅎ
ㅎㅎ
저게 정상입니다..
원래 모든태그는 <img src=""></img> 처럼 쓰는겁니다.. 그냥 단순화시켜서 <img src=""/> 이렇게쓰죠 보통
원래 모든태그는 <img src=""></img> 처럼 쓰는겁니다.. 그냥 단순화시켜서 <img src=""/> 이렇게쓰죠 보통
http://validator.w3.org/ 으로 웹표준/웹접근성 검사시 그 부분이 오류로 나와서 그렇습니다. 해결 방법이 있나요?
태그 닫기를 써서 validator에 걸리셨다니 조금 의문인데요 ;;
제가 잘못 알고 있는 걸까요? 아래와 같이 검사 결과가 나왔는데 어떻게 해야 하나요?
/ 를 빼면 문제없이 통과되구요...
Line 373, Column 66: NET-enabling start-tag requires SHORTTAG YES <h3><img alt="공지사항" src="../g4_images/subtitle11.gif" /></h3>
✉
For the current document, the validator interprets strings like <FOO /> according to legacy rules that break the expectations of most authors and thus cause confusing warnings and error messages from the validator. This interpretation is triggered by HTML 4 documents or other SGML-based HTML documents. To avoid the messages, simply remove the "/" character in such contexts. NB: If you expect <FOO /> to be interpreted as an XML-compatible "self-closing" tag, then you need to use XHTML or HTML5.
This warning and related errors may also be caused by an unquoted attribute value containing one or more "/". Example: <a href=http://w3c.org>W3C</a>. In such cases, the solution is to put quotation marks around the value.
/ 를 빼면 문제없이 통과되구요...
Line 373, Column 66: NET-enabling start-tag requires SHORTTAG YES <h3><img alt="공지사항" src="../g4_images/subtitle11.gif" /></h3>
✉
For the current document, the validator interprets strings like <FOO /> according to legacy rules that break the expectations of most authors and thus cause confusing warnings and error messages from the validator. This interpretation is triggered by HTML 4 documents or other SGML-based HTML documents. To avoid the messages, simply remove the "/" character in such contexts. NB: If you expect <FOO /> to be interpreted as an XML-compatible "self-closing" tag, then you need to use XHTML or HTML5.
This warning and related errors may also be caused by an unquoted attribute value containing one or more "/". Example: <a href=http://w3c.org>W3C</a>. In such cases, the solution is to put quotation marks around the value.
문서선언을 스트릭으로 하셨나요? DTD가 stric이나 html 이신거 같은데