HTML: vložiť odsek - ako to funguje
Ak chcete vytvoriť domovskú stránku bez súpravy, nemôžete sa vyhnúť základným znalostiam HTML. Ak chcete vložiť odsek do textu, potrebujete špeciálnu „značku“, aby sa odsek skutočne zobrazil. V tomto praktickom tipe vám ukážeme, ako to funguje veľmi ľahko.
Vložte odsek do HTML
Na odsek v texte HTML je potrebných len niekoľko znakov. Ako funguje ten správny deň:
- Ako obvykle, napíšte svoj HTML dokument do „
"Označenie.
- Ak chcete vytvoriť lepší prehľad, odseky môžete dočasne vložiť pomocou klávesu [Enter]. Zobrazujú sa však iba vo vašom editore a ešte v prehliadači.
- Ak chcete zabezpečiť, aby prehliadač tiež rozpoznával odseky, musíte pridať znak „
"vložiť (pozri snímku obrazovky).
Ďalší praktický tip vám tiež povie, ako vytvárať formuláre v HTML.