{"id":724,"date":"2020-05-05T20:18:23","date_gmt":"2020-05-05T20:18:23","guid":{"rendered":"https:\/\/ramk.ee\/opikud\/veebidisain\/?post_type=chapter&#038;p=724"},"modified":"2020-05-12T12:29:01","modified_gmt":"2020-05-12T12:29:01","slug":"html-ploki-ja-rea-elemendid","status":"publish","type":"chapter","link":"https:\/\/ramk.ee\/opikud\/veebidisain\/chapter\/html-ploki-ja-rea-elemendid\/","title":{"rendered":"HTML ploki- ja rea-elemendid"},"content":{"raw":"<h1>Plokielemendid<\/h1>\r\nOsa elemente HTML keeles on blokielemendid (<em>block<\/em>), mis t\u00e4hendab, et nad algavad alati uuelt realt, h\u00f5ivavad veebilehel kogu rea ja ei luba teisi elemente enda k\u00f5rvale.\r\n\r\nPlokielementideks on n\u00e4iteks pealkirjad (<code>&lt;h1&gt;<\/code>...<code>&lt;h6&gt;<\/code>), tekstil\u00f5igud <code>&lt;p&gt;<\/code>, loendid <code>&lt;ol&gt;<\/code> ja <code>&lt;ul&gt;<\/code>, tabelid <code>&lt;table&gt;<\/code>, alajaotused <code>&lt;div&gt;<\/code> jt.\r\n\r\nPlokielemente ei kirjutata reaelementide sisse!\r\n<table class=\"grid\" style=\"border-collapse: collapse; width: 100%; height: 94px;\" border=\"0\">\r\n<tbody>\r\n<tr style=\"height: 14px;\">\r\n<td class=\"shaded\" style=\"height: 14px; width: 83.3335%;\" colspan=\"5\"><strong>Plokielemendid<\/strong><\/td>\r\n<\/tr>\r\n<tr style=\"height: 14px;\">\r\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;address&gt;\r\n<\/code>Kontaktinformatsioon<\/td>\r\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;article&gt;<\/code>\r\nArtikli sisu<\/td>\r\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;aside&gt;\r\n<\/code>\u00c4\u00e4rem\u00e4rkus<\/td>\r\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;blockquote&gt;\r\n<\/code>Pikk tsitaat<\/td>\r\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;canvas&gt;\r\n<\/code>\"L\u00f5uend\"<\/td>\r\n<\/tr>\r\n<tr style=\"height: 14px;\">\r\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;dd&gt;\r\n<\/code>Kirjeldusloendi kirjeldus<\/td>\r\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;div&gt;\r\n<\/code>Plokk-konteiner<\/td>\r\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;dl&gt;\r\n<\/code>Loendielement<\/td>\r\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;dt&gt;\r\n<\/code>Kirjeldusloendi elment<\/td>\r\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;fieldset&gt;\r\n<\/code>Vormi elementide koondamine<\/td>\r\n<\/tr>\r\n<tr style=\"height: 14px;\">\r\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;figcation&gt;\r\n<\/code>Pildile pealdise lisamine<\/td>\r\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;figure&gt;\r\n<\/code>Meediaelementide koondamine<\/td>\r\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;footer&gt;\r\n<\/code>Jalus<\/td>\r\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;form&gt;\r\n<\/code>Vorm<\/td>\r\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;h1&gt;<\/code>, <code>&lt;h2&gt;<\/code>, <code>&lt;h3&gt;<\/code>, <code>&lt;h4&gt;<\/code>, <code>&lt;h5&gt;<\/code>, <code>&lt;h6&gt;\r\n<\/code>Pealkirjad<\/td>\r\n<\/tr>\r\n<tr style=\"height: 14px;\">\r\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;header&gt;\r\n<\/code>P\u00e4is<\/td>\r\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;hr&gt;\r\n<\/code>Horisontaaljoon<\/td>\r\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;li&gt;\r\n<\/code>Loendi element<\/td>\r\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;main&gt;\r\n<\/code>Lehe p\u00f5hiosa<\/td>\r\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;nav&gt;\r\n<\/code>Navigatsiooniplokk<\/td>\r\n<\/tr>\r\n<tr style=\"height: 14px;\">\r\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;noscript&gt;\r\n<\/code>Teavitus skripti kasutamisest<\/td>\r\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;ol&gt;\r\n<\/code>Nummerdatud loend<\/td>\r\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;p&gt;\r\n<\/code>Tekstil\u00f5ik<\/td>\r\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;pre&gt;\r\n<\/code>Eelnevalt vormindatud tekst<\/td>\r\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;section&gt;\r\n<\/code>Sektsioon<\/td>\r\n<\/tr>\r\n<tr style=\"height: 14px;\">\r\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;table&gt;\r\n<\/code>Tabel<\/td>\r\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;tfoot&gt;\r\n<\/code>Tabeli p\u00e4is<\/td>\r\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;tfoot&gt;\r\n<\/code>Tabeli jalus<\/td>\r\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;ul&gt;\r\n<\/code>T\u00e4pploend<\/td>\r\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;video&gt;\r\n<\/code>Video<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<h1>Rea-elemendid<\/h1>\r\nTeine osa HTML elemente on j\u00e4llegi rea-elemendid (<em>inline<\/em>). Rea-elemendid ei alga uuelt realt ja nad v\u00f5tavad enda alla nii palju ruumi kui parasjagu vajalik.\r\n<table class=\"grid\" style=\"border-collapse: collapse; width: 100%;\" border=\"0\">\r\n<tbody>\r\n<tr>\r\n<td class=\"shaded\" style=\"width: 100%;\" colspan=\"5\"><strong>Rea-elemendid<\/strong><\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 20%;\"><code>&lt;a&gt;<\/code>\r\nH\u00fcperlink<\/td>\r\n<td style=\"width: 20%;\"><code>&lt;abbr&gt;<\/code>\r\nL\u00fchend<\/td>\r\n<td style=\"width: 20%;\"><code>&lt;b&gt;<\/code>\r\nPaks kiri<\/td>\r\n<td style=\"width: 20%;\"><code>&lt;bdo&gt;<\/code>\r\nTeksti suund<\/td>\r\n<td style=\"width: 20%;\"><code>&lt;br&gt;\r\n<\/code>Reavahetus<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 20%;\"><code>&lt;button&gt;\r\n<\/code>Nupp<\/td>\r\n<td style=\"width: 20%;\"><code>&lt;cite&gt;\r\n<\/code>Teose pealkiri<\/td>\r\n<td style=\"width: 20%;\"><code>&lt;code&gt;\r\n<\/code>Koodil\u00f5ik<\/td>\r\n<td style=\"width: 20%;\"><code>&lt;dfn&gt;\r\n<\/code>Definitsioon<\/td>\r\n<td style=\"width: 20%;\"><code>&lt;em&gt;\r\n<\/code>R\u00f5hutatud kiri<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 20%;\"><code>&lt;i&gt;\r\n<\/code>Kaldkirjas kiri<\/td>\r\n<td style=\"width: 20%;\"><code>&lt;img&gt;\r\n<\/code>Pilt<\/td>\r\n<td style=\"width: 20%;\"><code>&lt;input&gt;\r\n<\/code>Sisend<\/td>\r\n<td style=\"width: 20%;\"><code>&lt;kbd&gt;\r\n<\/code>Klaviatuurik\u00e4sklus<\/td>\r\n<td style=\"width: 20%;\"><code>&lt;label&gt;\r\n<\/code>Silt<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 20%;\"><code>&lt;map&gt;\r\n<\/code>Interaktiivne pilt<\/td>\r\n<td style=\"width: 20%;\"><code>&lt;object&gt;\r\n<\/code>Objekt<\/td>\r\n<td style=\"width: 20%;\"><code>&lt;output&gt;\r\n<\/code>V\u00e4ljund<\/td>\r\n<td style=\"width: 20%;\"><code>&lt;q&gt;\r\n<\/code>Tsitaat<\/td>\r\n<td style=\"width: 20%;\"><code>&lt;samp&gt;\r\n<\/code>Koodin\u00e4ite stiil<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 20%;\"><code>&lt;script&gt;\r\n<\/code>Programmikood<\/td>\r\n<td style=\"width: 20%;\"><code>&lt;select&gt;\r\n<\/code>Rippmen\u00fc\u00fc<\/td>\r\n<td style=\"width: 20%;\"><code>&lt;small&gt;\r\n<\/code>V\u00e4ike tekst<\/td>\r\n<td style=\"width: 20%;\"><code>&lt;span&gt;\r\n<\/code>Reasisene konteiner<\/td>\r\n<td style=\"width: 20%;\"><code>&lt;strong&gt;\r\n<\/code>Oluline tekst<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 20%;\"><code>&lt;sub&gt;\r\n<\/code>Allindeks tekst<\/td>\r\n<td style=\"width: 20%;\"><code>&lt;sup&gt;\r\n<\/code>\u00dclaindeks tekst<\/td>\r\n<td style=\"width: 20%;\"><code>&lt;textarea&gt;\r\n<\/code>Tekstisisestus kast<\/td>\r\n<td style=\"width: 20%;\"><code>&lt;var&gt;<\/code>\r\nMuutuja<\/td>\r\n<td style=\"width: 20%;\"><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<h1>Konteinerid <code>&lt;div&gt;<\/code> ja <code>&lt;span&gt;<\/code><\/h1>\r\nKeerulisemas HTML koodis leiavad tihti kasutust ka <code>&lt;div&gt;<\/code> ja <code>&lt;span&gt;<\/code> elemendid. Element <code>&lt;div&gt;<\/code> on plokielement ja teda kasutatakse enamasti teiste elementide grupeerimiseks. N\u00e4iteks saame seda elementi kasutades stiliseerida korraga mitut tema sees asuvat elementi.\r\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"html\">&lt;div style=\"background-color:#fff700;padding:20px;\"&gt;\r\n  &lt;h1&gt;P\u00f5hiv\u00e4\u00e4rtused&lt;\/h1&gt;\r\n  &lt;p&gt;Meile olulisi m\u00e4rks\u00f5nu ja p\u00f5him\u00f5tteid lugedes joonistuvad selgelt v\u00e4lja kolm l\u00e4bivat p\u00f5hiv\u00e4\u00e4rtust. Need on \u00d5NNELIKKUS, EETILISUS ja VAIMSUS.\r\nNeed kolm on v\u00e4\u00e4rtuseks k\u00f5iges, mida me teeme ja mille poole me p\u00fc\u00fcdleme. RaM Kooli pedagoogiline kontseptsioon on suunatud sellele, et kogu koolipere, eriti aga iga laps, oleks praegu ja tulevikus:&lt;\/p&gt;\r\n  &lt;h2&gt;\u00d5NNELIK&lt;\/h2&gt;\r\n  &lt;p&gt;Siia kuuluvad m\u00e4rks\u00f5nad tervis, loovus, v\u00f5rdsus, individuaalsust arvestav kohtlemine, lapses\u00f5bralikkus, iseseisvus, ettev\u00f5tlikkus, tasakaalukus, vabadus, ennast armastav eluhoiak.&lt;\/p&gt;\r\n&lt;\/div&gt;<\/pre>\r\n<img class=\"aligncenter wp-image-732\" src=\"https:\/\/ramk.ee\/opikud\/veebidisain\/wp-content\/uploads\/sites\/2\/2020\/05\/divn\u00e4ide.png\" alt=\"div n\u00e4ide\" width=\"450\" height=\"264\" \/>\r\n\r\nElement <code>&lt;span&gt;<\/code> on aga reasisene element ning enamasti kasutatakse seda tekstil\u00f5igus m\u00f5ne osa stiliseerimiseks:\r\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"html\">&lt;p&gt;Mulle maitsevad &lt;span style=\"background-color:yellow\"&gt;banaanid&lt;\/span&gt; ja &lt;span style=\"color:red;\"&gt;\u00f5unad&lt;\/span&gt;.&lt;\/p&gt;<\/pre>\r\n<img class=\"aligncenter wp-image-733\" src=\"https:\/\/ramk.ee\/opikud\/veebidisain\/wp-content\/uploads\/sites\/2\/2020\/05\/span_n\u00e4ide.png\" alt=\"span n\u00e4ide\" width=\"450\" height=\"45\" \/>\r\n\r\nLisaks <code>style<\/code> atribuudile lisatakse <code>&lt;div&gt;<\/code> ja <code>&lt;span&gt;<\/code> elemendile tihti ka <code>class<\/code> v\u00f5i <code>id<\/code> atribuut, et meil oleks v\u00f5imalik neid elemente ka stiililehe kaudu stiliseerida.\r\n<h3>Enesekontroll (1 k\u00fcsimus)<\/h3>\r\n[h5p id=\"21\"]\r\n<iframe src=\"https:\/\/www.youtube.com\/embed\/yfNlDR5agFg?rel=0\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe>","rendered":"<h1>Plokielemendid<\/h1>\n<p>Osa elemente HTML keeles on blokielemendid (<em>block<\/em>), mis t\u00e4hendab, et nad algavad alati uuelt realt, h\u00f5ivavad veebilehel kogu rea ja ei luba teisi elemente enda k\u00f5rvale.<\/p>\n<p>Plokielementideks on n\u00e4iteks pealkirjad (<code>&lt;h1&gt;<\/code>&#8230;<code>&lt;h6&gt;<\/code>), tekstil\u00f5igud <code>&lt;p&gt;<\/code>, loendid <code>&lt;ol&gt;<\/code> ja <code>&lt;ul&gt;<\/code>, tabelid <code>&lt;table&gt;<\/code>, alajaotused <code>&lt;div&gt;<\/code> jt.<\/p>\n<p>Plokielemente ei kirjutata reaelementide sisse!<\/p>\n<table class=\"grid\" style=\"border-collapse: collapse; width: 100%; height: 94px;\">\n<tbody>\n<tr style=\"height: 14px;\">\n<td class=\"shaded\" style=\"height: 14px; width: 83.3335%;\" colspan=\"5\"><strong>Plokielemendid<\/strong><\/td>\n<\/tr>\n<tr style=\"height: 14px;\">\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;address&gt;<br \/>\n<\/code>Kontaktinformatsioon<\/td>\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;article&gt;<\/code><br \/>\nArtikli sisu<\/td>\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;aside&gt;<br \/>\n<\/code>\u00c4\u00e4rem\u00e4rkus<\/td>\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;blockquote&gt;<br \/>\n<\/code>Pikk tsitaat<\/td>\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;canvas&gt;<br \/>\n<\/code>&#8220;L\u00f5uend&#8221;<\/td>\n<\/tr>\n<tr style=\"height: 14px;\">\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;dd&gt;<br \/>\n<\/code>Kirjeldusloendi kirjeldus<\/td>\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;div&gt;<br \/>\n<\/code>Plokk-konteiner<\/td>\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;dl&gt;<br \/>\n<\/code>Loendielement<\/td>\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;dt&gt;<br \/>\n<\/code>Kirjeldusloendi elment<\/td>\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;fieldset&gt;<br \/>\n<\/code>Vormi elementide koondamine<\/td>\n<\/tr>\n<tr style=\"height: 14px;\">\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;figcation&gt;<br \/>\n<\/code>Pildile pealdise lisamine<\/td>\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;figure&gt;<br \/>\n<\/code>Meediaelementide koondamine<\/td>\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;footer&gt;<br \/>\n<\/code>Jalus<\/td>\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;form&gt;<br \/>\n<\/code>Vorm<\/td>\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;h1&gt;<\/code>, <code>&lt;h2&gt;<\/code>, <code>&lt;h3&gt;<\/code>, <code>&lt;h4&gt;<\/code>, <code>&lt;h5&gt;<\/code>, <code>&lt;h6&gt;<br \/>\n<\/code>Pealkirjad<\/td>\n<\/tr>\n<tr style=\"height: 14px;\">\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;header&gt;<br \/>\n<\/code>P\u00e4is<\/td>\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;hr&gt;<br \/>\n<\/code>Horisontaaljoon<\/td>\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;li&gt;<br \/>\n<\/code>Loendi element<\/td>\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;main&gt;<br \/>\n<\/code>Lehe p\u00f5hiosa<\/td>\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;nav&gt;<br \/>\n<\/code>Navigatsiooniplokk<\/td>\n<\/tr>\n<tr style=\"height: 14px;\">\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;noscript&gt;<br \/>\n<\/code>Teavitus skripti kasutamisest<\/td>\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;ol&gt;<br \/>\n<\/code>Nummerdatud loend<\/td>\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;p&gt;<br \/>\n<\/code>Tekstil\u00f5ik<\/td>\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;pre&gt;<br \/>\n<\/code>Eelnevalt vormindatud tekst<\/td>\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;section&gt;<br \/>\n<\/code>Sektsioon<\/td>\n<\/tr>\n<tr style=\"height: 14px;\">\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;table&gt;<br \/>\n<\/code>Tabel<\/td>\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;tfoot&gt;<br \/>\n<\/code>Tabeli p\u00e4is<\/td>\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;tfoot&gt;<br \/>\n<\/code>Tabeli jalus<\/td>\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;ul&gt;<br \/>\n<\/code>T\u00e4pploend<\/td>\n<td style=\"width: 16.6667%; height: 20px;\"><code>&lt;video&gt;<br \/>\n<\/code>Video<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h1>Rea-elemendid<\/h1>\n<p>Teine osa HTML elemente on j\u00e4llegi rea-elemendid (<em>inline<\/em>). Rea-elemendid ei alga uuelt realt ja nad v\u00f5tavad enda alla nii palju ruumi kui parasjagu vajalik.<\/p>\n<table class=\"grid\" style=\"border-collapse: collapse; width: 100%;\">\n<tbody>\n<tr>\n<td class=\"shaded\" style=\"width: 100%;\" colspan=\"5\"><strong>Rea-elemendid<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 20%;\"><code>&lt;a&gt;<\/code><br \/>\nH\u00fcperlink<\/td>\n<td style=\"width: 20%;\"><code>&lt;abbr&gt;<\/code><br \/>\nL\u00fchend<\/td>\n<td style=\"width: 20%;\"><code>&lt;b&gt;<\/code><br \/>\nPaks kiri<\/td>\n<td style=\"width: 20%;\"><code>&lt;bdo&gt;<\/code><br \/>\nTeksti suund<\/td>\n<td style=\"width: 20%;\"><code>&lt;br&gt;<br \/>\n<\/code>Reavahetus<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 20%;\"><code>&lt;button&gt;<br \/>\n<\/code>Nupp<\/td>\n<td style=\"width: 20%;\"><code>&lt;cite&gt;<br \/>\n<\/code>Teose pealkiri<\/td>\n<td style=\"width: 20%;\"><code>&lt;code&gt;<br \/>\n<\/code>Koodil\u00f5ik<\/td>\n<td style=\"width: 20%;\"><code>&lt;dfn&gt;<br \/>\n<\/code>Definitsioon<\/td>\n<td style=\"width: 20%;\"><code>&lt;em&gt;<br \/>\n<\/code>R\u00f5hutatud kiri<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 20%;\"><code>&lt;i&gt;<br \/>\n<\/code>Kaldkirjas kiri<\/td>\n<td style=\"width: 20%;\"><code>&lt;img&gt;<br \/>\n<\/code>Pilt<\/td>\n<td style=\"width: 20%;\"><code>&lt;input&gt;<br \/>\n<\/code>Sisend<\/td>\n<td style=\"width: 20%;\"><code>&lt;kbd&gt;<br \/>\n<\/code>Klaviatuurik\u00e4sklus<\/td>\n<td style=\"width: 20%;\"><code>&lt;label&gt;<br \/>\n<\/code>Silt<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 20%;\"><code>&lt;map&gt;<br \/>\n<\/code>Interaktiivne pilt<\/td>\n<td style=\"width: 20%;\"><code>&lt;object&gt;<br \/>\n<\/code>Objekt<\/td>\n<td style=\"width: 20%;\"><code>&lt;output&gt;<br \/>\n<\/code>V\u00e4ljund<\/td>\n<td style=\"width: 20%;\"><code>&lt;q&gt;<br \/>\n<\/code>Tsitaat<\/td>\n<td style=\"width: 20%;\"><code>&lt;samp&gt;<br \/>\n<\/code>Koodin\u00e4ite stiil<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 20%;\"><code>&lt;script&gt;<br \/>\n<\/code>Programmikood<\/td>\n<td style=\"width: 20%;\"><code>&lt;select&gt;<br \/>\n<\/code>Rippmen\u00fc\u00fc<\/td>\n<td style=\"width: 20%;\"><code>&lt;small&gt;<br \/>\n<\/code>V\u00e4ike tekst<\/td>\n<td style=\"width: 20%;\"><code>&lt;span&gt;<br \/>\n<\/code>Reasisene konteiner<\/td>\n<td style=\"width: 20%;\"><code>&lt;strong&gt;<br \/>\n<\/code>Oluline tekst<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 20%;\"><code>&lt;sub&gt;<br \/>\n<\/code>Allindeks tekst<\/td>\n<td style=\"width: 20%;\"><code>&lt;sup&gt;<br \/>\n<\/code>\u00dclaindeks tekst<\/td>\n<td style=\"width: 20%;\"><code>&lt;textarea&gt;<br \/>\n<\/code>Tekstisisestus kast<\/td>\n<td style=\"width: 20%;\"><code>&lt;var&gt;<\/code><br \/>\nMuutuja<\/td>\n<td style=\"width: 20%;\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h1>Konteinerid <code>&lt;div&gt;<\/code> ja <code>&lt;span&gt;<\/code><\/h1>\n<p>Keerulisemas HTML koodis leiavad tihti kasutust ka <code>&lt;div&gt;<\/code> ja <code>&lt;span&gt;<\/code> elemendid. Element <code>&lt;div&gt;<\/code> on plokielement ja teda kasutatakse enamasti teiste elementide grupeerimiseks. N\u00e4iteks saame seda elementi kasutades stiliseerida korraga mitut tema sees asuvat elementi.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"html\">&lt;div style=\"background-color:#fff700;padding:20px;\"&gt;\r\n  &lt;h1&gt;P\u00f5hiv\u00e4\u00e4rtused&lt;\/h1&gt;\r\n  &lt;p&gt;Meile olulisi m\u00e4rks\u00f5nu ja p\u00f5him\u00f5tteid lugedes joonistuvad selgelt v\u00e4lja kolm l\u00e4bivat p\u00f5hiv\u00e4\u00e4rtust. Need on \u00d5NNELIKKUS, EETILISUS ja VAIMSUS.\r\nNeed kolm on v\u00e4\u00e4rtuseks k\u00f5iges, mida me teeme ja mille poole me p\u00fc\u00fcdleme. RaM Kooli pedagoogiline kontseptsioon on suunatud sellele, et kogu koolipere, eriti aga iga laps, oleks praegu ja tulevikus:&lt;\/p&gt;\r\n  &lt;h2&gt;\u00d5NNELIK&lt;\/h2&gt;\r\n  &lt;p&gt;Siia kuuluvad m\u00e4rks\u00f5nad tervis, loovus, v\u00f5rdsus, individuaalsust arvestav kohtlemine, lapses\u00f5bralikkus, iseseisvus, ettev\u00f5tlikkus, tasakaalukus, vabadus, ennast armastav eluhoiak.&lt;\/p&gt;\r\n&lt;\/div&gt;<\/pre>\n<div class=\"wp-nocaption aligncenter wp-image-732\"><img class=\"aligncenter wp-image-732\" src=\"https:\/\/ramk.ee\/opikud\/veebidisain\/wp-content\/uploads\/sites\/2\/2020\/05\/divn\u00e4ide.png\" alt=\"div n\u00e4ide\" width=\"450\" height=\"264\" srcset=\"https:\/\/ramk.ee\/opikud\/veebidisain\/wp-content\/uploads\/sites\/2\/2020\/05\/divn\u00e4ide.png 958w, https:\/\/ramk.ee\/opikud\/veebidisain\/wp-content\/uploads\/sites\/2\/2020\/05\/divn\u00e4ide-300x176.png 300w, https:\/\/ramk.ee\/opikud\/veebidisain\/wp-content\/uploads\/sites\/2\/2020\/05\/divn\u00e4ide-768x451.png 768w, https:\/\/ramk.ee\/opikud\/veebidisain\/wp-content\/uploads\/sites\/2\/2020\/05\/divn\u00e4ide-65x38.png 65w, https:\/\/ramk.ee\/opikud\/veebidisain\/wp-content\/uploads\/sites\/2\/2020\/05\/divn\u00e4ide-225x132.png 225w, https:\/\/ramk.ee\/opikud\/veebidisain\/wp-content\/uploads\/sites\/2\/2020\/05\/divn\u00e4ide-350x206.png 350w\" \/><\/div>\n<p>Element <code>&lt;span&gt;<\/code> on aga reasisene element ning enamasti kasutatakse seda tekstil\u00f5igus m\u00f5ne osa stiliseerimiseks:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"html\">&lt;p&gt;Mulle maitsevad &lt;span style=\"background-color:yellow\"&gt;banaanid&lt;\/span&gt; ja &lt;span style=\"color:red;\"&gt;\u00f5unad&lt;\/span&gt;.&lt;\/p&gt;<\/pre>\n<div class=\"wp-nocaption aligncenter wp-image-733\"><img class=\"aligncenter wp-image-733\" src=\"https:\/\/ramk.ee\/opikud\/veebidisain\/wp-content\/uploads\/sites\/2\/2020\/05\/span_n\u00e4ide.png\" alt=\"span n\u00e4ide\" width=\"450\" height=\"45\" srcset=\"https:\/\/ramk.ee\/opikud\/veebidisain\/wp-content\/uploads\/sites\/2\/2020\/05\/span_n\u00e4ide.png 604w, https:\/\/ramk.ee\/opikud\/veebidisain\/wp-content\/uploads\/sites\/2\/2020\/05\/span_n\u00e4ide-300x30.png 300w, https:\/\/ramk.ee\/opikud\/veebidisain\/wp-content\/uploads\/sites\/2\/2020\/05\/span_n\u00e4ide-65x7.png 65w, https:\/\/ramk.ee\/opikud\/veebidisain\/wp-content\/uploads\/sites\/2\/2020\/05\/span_n\u00e4ide-225x23.png 225w, https:\/\/ramk.ee\/opikud\/veebidisain\/wp-content\/uploads\/sites\/2\/2020\/05\/span_n\u00e4ide-350x35.png 350w\" \/><\/div>\n<p>Lisaks <code>style<\/code> atribuudile lisatakse <code>&lt;div&gt;<\/code> ja <code>&lt;span&gt;<\/code> elemendile tihti ka <code>class<\/code> v\u00f5i <code>id<\/code> atribuut, et meil oleks v\u00f5imalik neid elemente ka stiililehe kaudu stiliseerida.<\/p>\n<h3>Enesekontroll (1 k\u00fcsimus)<\/h3>\n<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-21\" class=\"h5p-iframe\" data-content-id=\"21\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"nimetu\"><\/iframe><\/div>\n<p><iframe src=\"https:\/\/www.youtube.com\/embed\/yfNlDR5agFg?rel=0\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"author":1,"menu_order":17,"template":"","meta":{"_mi_skip_tracking":false,"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"part":25,"_links":{"self":[{"href":"https:\/\/ramk.ee\/opikud\/veebidisain\/wp-json\/pressbooks\/v2\/chapters\/724"}],"collection":[{"href":"https:\/\/ramk.ee\/opikud\/veebidisain\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/ramk.ee\/opikud\/veebidisain\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/ramk.ee\/opikud\/veebidisain\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":12,"href":"https:\/\/ramk.ee\/opikud\/veebidisain\/wp-json\/pressbooks\/v2\/chapters\/724\/revisions"}],"predecessor-version":[{"id":861,"href":"https:\/\/ramk.ee\/opikud\/veebidisain\/wp-json\/pressbooks\/v2\/chapters\/724\/revisions\/861"}],"part":[{"href":"https:\/\/ramk.ee\/opikud\/veebidisain\/wp-json\/pressbooks\/v2\/parts\/25"}],"metadata":[{"href":"https:\/\/ramk.ee\/opikud\/veebidisain\/wp-json\/pressbooks\/v2\/chapters\/724\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/ramk.ee\/opikud\/veebidisain\/wp-json\/wp\/v2\/media?parent=724"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/ramk.ee\/opikud\/veebidisain\/wp-json\/pressbooks\/v2\/chapter-type?post=724"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/ramk.ee\/opikud\/veebidisain\/wp-json\/wp\/v2\/contributor?post=724"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/ramk.ee\/opikud\/veebidisain\/wp-json\/wp\/v2\/license?post=724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}