So funktioniert’s
- Fügen Sie Ihren HTML-Code in das Eingabefeld ein.
- Wählen Sie unter „Modus“ entweder „Einrücken“ oder „Minifizieren“.
- Wählen Sie für „Einrücken“ unter „Einrückung“ zum Beispiel „2 Leerzeichen“.
- Klicken Sie auf „HTML formatieren“ bzw. „HTML minifizieren“ oder drücken Sie Strg+Enter unter Windows oder Cmd+Enter auf dem Mac. Danach wird das Ergebnis bei Eingaben bis 100 KB beim Tippen automatisch aktualisiert.
Beispiele
Attribute eines Formularfelds umbrechen
Eingabe
<form action="/kontakt" method="post"><label for="email">E-Mail-Adresse</label><input type="email" id="email" name="email" placeholder="name@beispiel.de" autocomplete="email" required></form>
Ausgabe
<form action="/kontakt"
method="post"><label for="email">E-Mail-Adresse</label><input type="email"
id="email"
name="email"
placeholder="name@beispiel.de"
autocomplete="email"
required></form>Shopseite mit Tabulatoren einrücken
Eingabe
<!doctype html><html lang="de"><head><meta charset="utf-8"><title>Hofladen Weber</title><style>body{font-family:sans-serif}.preis{color:#285430;font-weight:bold}</style></head><body><h1>Apfelsaft aus der Region</h1><p class="preis">3,50 € pro Flasche</p></body></html>Ausgabe
<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8">
<title>Hofladen Weber</title>
<style>
body {
font-family: sans-serif
}
.preis {
color: #285430;
font-weight: bold
}
</style>
</head>
<body>
<h1>Apfelsaft aus der Region</h1>
<p class="preis">3,50 € pro Flasche</p>
</body>
</html>
Newsletter mit Outlook-Kommentar minifizieren
Eingabe
<!-- Newsletter März --> <table role="presentation"> <tr><td>Unsere Angebote im März</td></tr> </table> <!--[if mso]><p>Ansicht für Outlook</p><![endif]-->
Ausgabe
<table role="presentation"><tr><td>Unsere Angebote im März</td></tr></table><!--[if mso]><p>Ansicht für Outlook</p><![endif]-->