Rabu, 04 Oktober 2023

Commonly Used HTML Tags

Commonly Used HTML Tags

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


Bibliography:

http://www.columbia.edu/ ( university )
https://www.codebrainer.com/
https://www.semrush.com/
https://www.w3docs.com/

html dtd, html format, dtd, bullet, numbering, link, url, document type definition, document type declaration, web content, web page, html heading, web paragraph

Related Post:

Tidak ada komentar:

Posting Komentar