All HTML tags are enclosed in <> (less than symbol and greater than symbol).
previous lesson: « Boilerplate HTML
<!DOCTYPE>
The DOCTYPE is not technically a tag but a declaration that tells the browser what kind of file will be loaded. This tag tells the browser the type of HTML that will be loaded.
In modern HTML, you can declare your file as
<!DOCTYPE html>
Or
<!doctype html>
Note: The declaration does not have a closing tag and is not case-sensitive.
<a> for hyperlink.
<b> for bold text.
<body> main HTML body.
<br> for line break.
<div> for division of an HTML document.
<em> for italic text with emphasis.
<h1> to <h6> for titles.
<i> for italic text.
<img> for images in document.
<li> for a list item.
<ol> for an ordered list.
<ul> for an unordered list.
<p> for paragraph.
<span> to style part of text.
<strong> for bold text with emphasis.
< back to Learn HTML
Tidak ada komentar:
Posting Komentar