AgerNic.com/ro
WEB DEVELOPER SITE, HTML, CSS, PHP, SQL
Tutorial

Definiție și utilizare HTML Style Tag
Atributul style specifică un stil pe linie ( inline ) pentru un element.
Atributul style va înlocui orice set de styles la nivel global, de ex. stiluri specificate în eticheta <style> sau într-o foaie de stil extern.

Cui se aplica
Atributul Style face parte din Atributele globale și poate fi folosit pe orice element HTML.

Sintaxa:
<tag_nume style="property:value;"> textul dumneavoastra </tag_nume>

Exemplu:

<!DOCTYPE html>
<html> 
  <head> 
     <title>Definiție și utilizare HTML Style Tag exemplu</title>
  </head>
<body>
<h1>Definiție și utilizare HTML Style Tag</h1>
<h2 style="background-color:yellow; color:#0099FF; font-style:italic; font-size:26px">Buna Romania</h2>
<p style="background-color:#FFB4A6; color:#336600; font-size:14px; line-height:22px"><strong>Programare Web.<br />
Curs programare webdesign online gratuite - designer pagini web.</strong><br />
<strong>Invata de la zero</strong> fundamentele programarii web PHP+MySQL<br />
si dezvoltarea temelor WordPress pentru cariera ta de web developer (Curs pentru incepatori).<br />
<strong>Invata inca de la prima linie de cod</strong> cum sa realizezi site-uri web eficient,<br />
cum sa construiesti siteuri web pentru telefoane mobile, cum sa scrii cod si sa oferi performanta<br />
prin ceea ce faceti: HTML5, CSS6, PHP, Baze de date, Elemente jQuery si optimizare SEO de baza.<br />
In cadrul acestui curs vei incepe de la zero pentru a intelege fundamentele programarii web.<br />
Pe tot parcursul cursului vei lucra practic la dezvoltarea unui site dinamic.</p>
</body> </html>
Tags: HTML, Style Tag, exemple, Curs online, Styles

Online Editor
ONLINE EDITOR

news templates


COLOR PICKER

news templates
This tool makes it easy to create, adjust, and experiment with custom colors for the web.


HTML Templates
news templates
Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.


CSS HTML Layout
news templates
Find here examples of creative and unique website layouts.


Free CSS HTML Menu
news templates
Find here examples of creative and unique website CSS HTML menu.


Online Editor
ONLINE EDITOR

news templates


COLOR PICKER

news templates
This tool makes it easy to create, adjust, and experiment with custom colors for the web.


HTML Templates
news templates
Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.


CSS HTML Layout
news templates
Find here examples of creative and unique website layouts.


Free CSS HTML Menu
news templates
Find here examples of creative and unique website CSS HTML menu.


analytics piwika