Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="BG">
- <head>
- <title>Стилизиране на уеб форма</title>
- <meta charset="utf-8">
- <!--Линк към CSS файл със стилове-->
- <link rel="stylesheet" type="text/css" href="CSS/formstyle.css">
- <script type="text/javascript" src="JS/validation.js"></script>
- </head>
- <body>
- <div class="center topspace">
- <h3 class="title">Изглед на стилизирана уеб форма</h3>
- <h4 class="title">Валидиране на форма</h4>
- </div>
- <form id="regform" name="myForm" onsubmit="event.preventDefault(); validate()">
- <div class="formfield">
- <label class="labelview" for="username">Въведете потребителско име:</label>
- <input class="textfield" type="text" id="username" name="uname" value="" />
- <!--<span id="namelocation" style="color:red"></span> -->
- <p class="error" id="namelocation"></p>
- <p class="error" id="username-error"></p>
- </div>
- <div class="formfield errorplace">
- <label class="labelview" for="password">Въведете парола:</label>
- <input class="textfield" type="password" id="password" name="password" value="" />
- <!--<span id="passwordlocation" style="color:red"></span>-->
- <p class="error" id="passwordlocation"></p>
- <p class="error" id="password-error"></p>
- </div>
- <div class="formfield errorplace">
- <label class="labelview" for="password">Въведете парола отново:</label>
- <input class="textfield" type="password" id="password2" name="password2" value="" />
- <!--<span id="passwordlocation2" style="color:red"></span>-->
- <p class="error" id="passwordlocation2"></p>
- <p class="error" id="password-error"></p>
- </div>
- <div class="button formfield">
- <button type="submit" value="Register" id="submit-btn">Изпрати</button>
- </div>
- </form>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement