HTML Font & Pre Code
Wie kann ich das <pre> Tag in html verwenden?
Wie kann ich die Grösse und Farbe in html einstellen?
Erklärung
Vor Formatiert
<pre> </pre>
Diese Tag wird für vor-Vormatierung verwendet.
Alles, was Sie eingeben sollen, wird genauso angezeigt, wie Sie es eingeben.
Alles was Sie eigeben, wie Leertaste, Linie usw. werden Sie da finden
Beispiel: <pre>
This is pre formatedCODE
</pre>
Ergebnis: This is pre formated text
Font:
<font> </font>
Nur mit Hilfe dieses Tags, können wir die Farbe und Grösse des Textes ändern.
Font Farbe:
Die Font Farbe kann mit dem "color" Attribut geändert werden
Beispiel:<font color=red> This is red colored text </font>
Ergebnis: This is red colored text
Font Grösse:
Beispiel:<font color=red size=5> This font size is 5 </font>
Ergebnis: This font size is 5
Font Face:
Der Font Name kann mit dem "face" Attribut geändert werden
Beispiel:<font face="Monotype Corsiva" size=5> This font type is Monotype corsiva </font>
Ergebnis: This font type is Monotype corsiva