XHTMLforum

XHTMLforum (http://xhtmlforum.de/index.php)
-   Serveradministration und serverseitige Scripte (http://xhtmlforum.de/forumdisplay.php?f=80)
-   -   WordPress (http://xhtmlforum.de/showthread.php?t=70473)

gabischatz 04.01.2014 13:19

WordPress
 
Guten Morgen
Bei der Umstellung von xhtml auf html5 in WordPress werden die Abschluss-Slashes wieder eingefügt. Aus <br> wird <br /> usw.
Wo muss ich das ändern?

Mit freundlichen Grüßen
gabischatz

Thielo 04.01.2014 14:44

Warum sollte man das wollen? Was versprichst du dir davon?

(P.S. Die Lösung ist in meiner Zwischenablage, aber ich möchte erst eine Antwort auf die Fragen haben ;) )

gabischatz 04.01.2014 15:30

Zitat:

Zitat von Thielo (Beitrag 536082)
Warum sollte man das wollen? Was versprichst du dir davon?

1. Eine Valide Webseite
2. Damit Ihr mir die Seite nicht wieder um die Ohren haut
Und 3. Wissen wie man es macht.

inta 04.01.2014 16:05

Es gibt auch XHTML5, also keinen Grund zur HTML-Syntax zu wechseln, wenn du es nicht unbedingt möchtest.

Thielo 04.01.2014 16:15

Eine Seite ist nicht invalide dadurch.
Zitat:

Void elements in HTML (e.g. the br, img and input elements) do not require a trailing slash. e.g. Instead of writing <br />, you only need to write <br>. This is the same as in HTML4. However, due to the widespread attempts to use XHTML1, there are a significant number of pages using the trailing slash. Because of this, the trailing slash syntax has been permitted on void elements in HTML in order to ease migration from XHTML1 back to HTML.
themes - How do I turn off self-closing tags for markup in WordPress (for HTML5, or HTML4, for example)? - WordPress Answers

gabischatz 04.01.2014 17:04

Danke Für eure Antwort.
Wenn das so ist brauche ich mir ja darum kein Sorgen mehr machen.

Da möchte ich nochmal vorsichtig Anfragen ob Ihr Hier schauen könntet?


Alle Zeitangaben in WEZ +2. Es ist jetzt 07:30 Uhr.

Powered by vBulletin® Version 3.8.11 (Deutsch)
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

© Dirk H. 2003 - 2023