Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: Problem z validacją w3c
Forum PHP.pl > Forum > Po stronie przeglądarki > HTML \ XHTML
mskibinski
Witam, mam problem. Poniżej są przedstawione błędy walidacji. Powiedzcie mi jak je usunąć?

  1. Line 440, Column 8: end tag for "style" omitted, but OMITTAG NO was specified
  2. </html>
  3.  
  4.  
  5. You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
  6. Line 48, Column 1: start tag was here
  7. <style type="text/css">
  8. Line 440, Column 8: end tag for "head" omitted, but OMITTAG NO was specified
  9. </html>
  10.  
  11.  
  12. You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
  13. Line 3, Column 1: start tag was here
  14. <head>
  15. Line 440, Column 8: "html" not finished but document ended
  16. </html>
  17.  
  18. Line 440, Column 8: end tag for "html" omitted, but OMITTAG NO was specified
  19. </html>
  20.  
  21.  
  22. You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
  23. Line 2, Column 1: start tag was here
  24. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl-pl" lang="pl-pl" >
  25. Line 440, Column 8: missing marked section end
  26. </html>
  27.  
  28. Line 49, Column 4: marked section started here
  29. /* <![CDATA[ */
wookieb
A kod strony to mamy sobie zgadnąć?
wookieb
Zacznijmy od poprawy cdata (w style). Najpierw ją wywal (razem z tymi komentarzami) i dopiero wtedy ujawnią Ci się kolejne błędy w stylu
Kod
there is no attribute "mce_src"
elektrrrus
Błędy pochodzą z tinymce, edytora wysiwyg jakiego używasz w tej joomli. Poprawniejszy kod generuje ckedtitor, możesz go doinstalować, a najlepiej w ogóle wywalić takie generatory śmieci jak edytory wysiwyg o ile możesz sobie na to pozwolić.
mskibinski
Temat zamknięty. Wina tkwi w edytorze WYSWIG
wookieb
Zawsze możesz użyć http://htmlpurifier.org/
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.