0% found this document useful (0 votes)
28 views3 pages

Belajar HTML: Attribute Description

This document provides descriptions of various HTML tags and attributes. It describes tags such as <html>, <body>, and <head> that define the basic structure of an HTML document. It also lists tags for text formatting like <b>, <i>, and <em>. Attributes are described like alt, src, and href which provide additional information for elements. Styles can be applied using the style attribute and properties for colors, fonts, and text alignment.

Uploaded by

Raymas Rionaldi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views3 pages

Belajar HTML: Attribute Description

This document provides descriptions of various HTML tags and attributes. It describes tags such as <html>, <body>, and <head> that define the basic structure of an HTML document. It also lists tags for text formatting like <b>, <i>, and <em>. Attributes are described like alt, src, and href which provide additional information for elements. Styles can be applied using the style attribute and properties for colors, fonts, and text alignment.

Uploaded by

Raymas Rionaldi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Belajar HTML

Attribute Description

alt Specifies an alternative text for an image, when the image cannot be displ

disabled Specifies that an input element should be disabled

href Specifies the URL (web address) for a link

id Specifies a unique id for an element

src Specifies the URL (web address) for an image

style Specifies an inline CSS style for an element

title Specifies extra information about an element (displayed as a tool tip)

Tag Description

<html> Defines the root of an HTML document


<body> Defines the document's body

<head> A container for all the head elements (title, scripts, styles, meta informat

<h1> to <h6> Defines HTML headings

<hr> Defines a thematic change in the content

Use the style attribute for styling HTML elements


Use background-color for background color
Use color for text colors
Use font-family for text fonts
Use font-size for text sizes
Use text-align for text alignment

<b> - Bold text


<strong> - Important text
<i> - Italic text
<em> - Emphasized text
<mark> - Marked text
<small> - Small text
<del> - Deleted text
<ins> - Inserted text
<sub> - Subscript text
<sup> - Superscript text
Tag Description

<abbr> Defines an abbreviation or acronym

<address> Defines contact information for the author/owner of a document

<bdo> Defines the text direction

<blockquote> Defines a section that is quoted from another source

<cite> Defines the title of a work

<q> Defines a short inline quotation

You might also like