From 547c6a7e54015df2cfb30162ca7a6e80bd2f6880 Mon Sep 17 00:00:00 2001 From: Maxim Postautov <54762420+mpstv@users.noreply.github.com> Date: Tue, 27 Apr 2021 12:18:23 +0300 Subject: fix constraint validation issue (#656) --- files/ru/web/guide/html/html5/constraint_validation/index.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'files') diff --git a/files/ru/web/guide/html/html5/constraint_validation/index.html b/files/ru/web/guide/html/html5/constraint_validation/index.html index ba0b43d244..73be6d59bb 100644 --- a/files/ru/web/guide/html/html5/constraint_validation/index.html +++ b/files/ru/web/guide/html/html5/constraint_validation/index.html @@ -261,9 +261,7 @@ original_slug: HTML/HTML5/Constraint_validation <p>This displays:</p> -<p><label>Select a file smaller than 75 kB : </label> <input></p> - -<p> </p> +<p>{{EmbedLiveSample("Limiting_the_size_of_a_file_before_its_upload")}}</p> <p>The JavaScript reads the file selected, uses the File.size() method to get its size, compares it to the (hard coded) limit, and calls the Constraint API to inform the browser if there is a violation:</p> -- cgit v1.2.3-54-g00ecf