Կայքի մենյու
Գլխավոր մենյու
Համակարգիչ
Կառուցվածքը
Պրոֆիլակտիկա
Թերություններ վերացնել
Կարգավորել windows-ը
Համակարգիչ սկսնակներին
Տեղադրել windows 7, 10
Օգտակար
Ansi - Unicode փոխարկիչ
Բեռնել ծրագրեր
Անտիվիրուսներ
Արխիվատորներ
Գրասենյակային
Վիդեո և կոդեկներ
ՈՒտիլիտներ
Ինտերնետ
Նկարներ և ձևավորուում
Այլ
Ծրագրավորում
Ինչ է html-ը
Ինչ է html թեգը
Սովորել ինքնուրույն
Ինչ է html ատրիբուտը
JSON
lang - լեզուների կոդեր
Տառատեսակներ կայքի համար
Հայատառ դոմենների փոխարկիչ
HTML թեգեր
<!-- -->
<!DOCTYPE>
<a>
<abbr>
<acronym>
<address>
<area>
<article>
<aside>
<audio>
<b>
<base>
<bdo>
<big>
<blockquote>
<body>
<br>
<button>
<canvas>
<caption>
<center>
<cite>
<col>
<colgroup>
<datalist>
<dd>
<del>
<details>
<dfn>
<div>
<dl>
<dt>
<em>
<embed>
<fieldset>
<figcaption>
<figure>
<footer>
<form>
<frame>
<frameset>
<h1>
<h2>
<h3>
<h4>
<h5>
<h6>
<head>
<header>
<hr>
<html>
<i>
<iframe>
<img>
<input>
<ins>
<kbd>
<label>
<legend>
<li>
<link>
<map>
<mark>
<meta>
<nav>
<nobr>
<noembed>
<noframes>
<noscript>
<object>
<ol>
<optgroup>
<option>
<output>
<p>
<param>
<pre>
<progress>
<q>
<rp>
<rt>
<ruby>
<s>
<samp>
<script>
<section>
<select>
<small>
<source>
<span>
<strong>
<style>
<sub>
<summary>
<sup>
<table>
<tbody>
<td>
<textarea>
<tfoot>
<th>
<thead>
<time>
<title>
<tr>
<u>
<ul>
<var>
<video>
<wbr>
HTML ատրիբուտներ
Html ատրիբուտ class
![]() | ![]() | ![]() | ![]() | ![]() |
class ատրիբուտը սահմանում է ոճային դաս, որը թույլ է տալիս էլեմենտը կպցնել CSS - ին։ Կարելի է օգտագործել մի քանի ոճային դաս։
Օրինակ՝ class="անուն"
Կարելի է գրել միայն՝
լատինական այբուբենի (A-Z, a-z) տառերը, (0-9), (-), (_)։ Հայերեն կամ ռուսերեն տառերով գրել չի կարելի։
class - ները մեծատառերի նկատմամբ զգայուն են՝ այսինքն class="ask" - ն և class="Ask" - ն նույնը չեն։
Կարելի է դնել հետևյալ թեգերին՝
<a>, <abbr>, <acronym>, <address>, <applet>, <area>, <b>, <basefont>, <bdo>, <bgsound>, <big>, <blockquote>, <body>, <br>, <button>, <caption>, <center>, <cite>, <code>, <col>, <colgroup>, <dd>, <del>, <dfn>, <dir>, <div>, <dl>, <dt>, <em>, <embed>, <fieldset>, <font>, <form>, <frame>, <h1>, <h2>, <h3>, <h4>, <h5>, <h6>, <hr>, <i>, <iframe>, <img>, <input>, <ins>, <isindex>, <kbd>, <label>, <legend>, <li>, <link>, <map>, <marquee>, <menu>, <nobr>, <object>, <ol>, <option>, <p>, <plaintext>, <pre>, <q>, <s>, <samp>, <select>, <small>, <span>, <strike>, <strong>, <sub>, <sup>, <table>, <tbody>, <td>, <textarea>, <tfoot>, <th>, <thead>, <tr>, <tt>, <u>, <ul>, <var>, <wbr>, <xmp>
Օգտագործման օրինակ՝
<!doctype html>
<html>
<head>
<title>Html ատրիբուտ class</title>
<style>
.hxum{
color: red;
}
</style>
</head>
<body>
<a href="https://hamakargich.ru" class="hxum" >Անցնել hamakargich.ru</a>
</body>
</html>
<html>
<head>
<title>Html ատրիբուտ class</title>
<style>
.hxum{
color: red;
}
</style>
</head>
<body>
<a href="https://hamakargich.ru" class="hxum" >Անցնել hamakargich.ru</a>
</body>
</html>
Կիսվել սոցցանցերում









