Sei sulla pagina 1di 4

Text HTML Formatarea Elemente

Tag Description

<b> Defines bold text

<em> Defines emphasized text

<i> Defines italic text

<small> Defines smaller text

<strong> Defines important text

<sub> Defines subscripted text

<sup> Defines superscripted text

<ins> Defines inserted text

<del> Defines deleted text

<mark> Defines marked/highlighted text

HTML ofert i Referirea Elemente


Tag Description

<abbr> Defines an abbreviation or acronym

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

<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( )

HTML Computer Code Elements


Tag Description

<code> Defines programming code

<kbd> Defines keyboard input

<samp> Defines computer output


<var> Defines a mathematical variable

<pre> Defines preformatted text

Atribute HTML

Attribute Description

alt Specifies an alternative text for an image

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 t

Value Specifies the value (text content) for an input element.

Tag Description

<html> Defines an HTML document

<body> Defines the document's body

<head> Defines the document's head element

<h1> to <h6> Defines HTML headings

<hr> Defines a horizontal line

Tag Description

<p> Defines a paragraph

<br> Inserts a single line break


<pre> Defines pre-formatted text

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

Use the HTML style attribute for inline styling

Use the HTML <style> element to define internal CSS

Use the HTML <link> element to refer to an external CSS file

Use the HTML <head> element to store <style> and <link> elements

Use the CSS color property for text colors

Use the CSS font-family property for text fonts

Use the CSS font-size property for text sizes

Use the CSS border property for visible element borders

Use the CSS padding property for space inside the border

Use the CSS margin property for space outside the border

Target Value Description

_blank Opens the linked document in a new window or tab

_self Opens the linked document in the same frame as it was clicked

_parent Opens the linked document in the parent frame


_top Opens the linked document in the full body of the window

framename Opens the linked document in a named frame

Utilizai HTML <a> elementului pentru a defini un link

Utilizai HTML href atributul de a defini adresa link-ul

Utilizai HTML target atributul de a defini n cazul n care pentru a


deschide documentul legat

Folosii HTML <img> element (interior <a>) s utilizai o imagine ca un


link

Utilizai HTML id atributul (id = "valoare") pentru a defini marcaje ntr-o


pagin

Utilizai HTML href atributul (href = "# valoare") pentru a lega la


marcajul

Folosii HTML <img> elementul pentru a defini o imagine

Utilizai HTML src atributul de a defini adresa URL a imaginii

Utilizai HTML alt atribut pentru a defini un text alternativ pentru o


imagine, n cazul n care nu poate fi afiat

Utilizai HTML limea i nlimea atributele pentru a defini


dimensiunea imaginii

Utilizai CSS lime i nlime proprietile pentru a defini dimensiunea


imaginii (alternativ)

Utilizai CSS float proprietatea de a lsa float imagine

Folosii HTML <harta> elementul pentru a defini o imagine-harta

Folosii HTML <zona> elementul pentru a defini zonele face clic


imaginea-hart

Folosii elementul HTML <img> e usemap atribuie indica o imagine-map

Potrebbero piacerti anche