aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/html/attributes/pattern/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ru/web/html/attributes/pattern/index.html')
-rw-r--r--files/ru/web/html/attributes/pattern/index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/files/ru/web/html/attributes/pattern/index.html b/files/ru/web/html/attributes/pattern/index.html
index b7df7361ed..065388ae8c 100644
--- a/files/ru/web/html/attributes/pattern/index.html
+++ b/files/ru/web/html/attributes/pattern/index.html
@@ -35,7 +35,7 @@ translation_of: Web/HTML/Attributes/pattern
<p>Given the following:</p>
<div id="example1">
-<pre class="brush: html notranslate">&lt;p&gt;
+<pre class="brush: html">&lt;p&gt;
&lt;label&gt;Enter your phone number in the format (123)456-7890
(&lt;input name="tel1" type="tel" pattern="[0-9]{3}" placeholder="###" aria-label="3-digit area code" size="2"/&gt;)-
&lt;input name="tel2" type="tel" pattern="[0-9]{3}" placeholder="###" aria-label="3-digit prefix" size="2"/&gt; -
@@ -47,7 +47,7 @@ translation_of: Web/HTML/Attributes/pattern
<p>If the values are too long or too short, or contain characters that aren't digits, the patternMismatch will be true. When <code>true</code>, the element matches the {{cssxref(":invalid")}} CSS pseudo-classes.</p>
-<pre class="brush: css notranslate">input:invalid {
+<pre class="brush: css">input:invalid {
border: red solid 3px;
}</pre>
@@ -62,7 +62,7 @@ translation_of: Web/HTML/Attributes/pattern
<p>The example below restricts the value to 4-8 characters and requires that it contain only lower-case letters.</p>
-<pre class="brush: html notranslate">&lt;form&gt;
+<pre class="brush: html">&lt;form&gt;
&lt;div&gt;
&lt;label for="uname"&gt;Choose a username: &lt;/label&gt;
&lt;input type="text" id="uname" name="name" required size="45"
@@ -76,7 +76,7 @@ translation_of: Web/HTML/Attributes/pattern
&lt;/form&gt;</pre>
<div class="hidden">
-<pre class="brush: css notranslate">div {
+<pre class="brush: css">div {
margin-bottom: 10px;
position: relative;
}