From 980fe00a74a9ad013b945755415ace2e5429c3c2 Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Wed, 27 Oct 2021 02:31:24 +0300 Subject: [RU] Remove notranslate (#2874) --- files/ru/web/html/attributes/pattern/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'files/ru/web/html/attributes') 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

Given the following:

-
<p>
+
<p>
  <label>Enter your phone number in the format (123)456-7890
   (<input name="tel1" type="tel" pattern="[0-9]{3}" placeholder="###" aria-label="3-digit area code" size="2"/>)-
    <input name="tel2" type="tel" pattern="[0-9]{3}" placeholder="###" aria-label="3-digit prefix" size="2"/> -
@@ -47,7 +47,7 @@ translation_of: Web/HTML/Attributes/pattern
 
 

If the values are too long or too short, or contain characters that aren't digits, the patternMismatch will be true. When true, the element matches the {{cssxref(":invalid")}} CSS pseudo-classes.

-
input:invalid {
+
input:invalid {
   border: red solid 3px;
 }
@@ -62,7 +62,7 @@ translation_of: Web/HTML/Attributes/pattern

The example below restricts the value to 4-8 characters and requires that it contain only lower-case letters.

-
<form>
+
<form>
   <div>
     <label for="uname">Choose a username: </label>
     <input type="text" id="uname" name="name" required size="45"
@@ -76,7 +76,7 @@ translation_of: Web/HTML/Attributes/pattern
 </form>