Lab1 HTML
Lab1 HTML
Bondoc BSIT-3
1. Explain the script character limit and count that you created in your laboratory.
- Limit the character I use maxlength attribute so that I can specify what is my desire number of
characters allowed to input.
3. Why do HTML and CSS exist in creating a website by implementing Javascript or Jquery?
-HTML and CSS exist in creating a website by implementing Javascript or Jquery because HTML is the
structure of the website where we can put our content or any information that we want to send to
audience or visitor of our website and CSS helps the HTML to be more attractive and elegant when it
appears in the website so that we can put right fonts or colors to the website to make the website
presentable and and information is readable and to make website interactive to the visitor or user of
the page we implement Javascript or Jquery so that the website can response to the action of the
user/visitor.
Output
Source Code
<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<title>Registration Form</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
body{
font-family: 'poppins';
background-color: #ECEDEF;
color: #fff;
line-height: 1.8;
a{
text-decoration: none;
}
#container{
max-width: 430px;
padding: 20px;
.form-wrap{
background-color: #fff;
color: #333;
border-radius: 05px;
.form-wrap h1,
.form-wrap p{
text-align: center;
.form-wrap .form-group{
margin-top: 15px;
}
.form-wrap .form-group label{
display: block;
color: #666;
width: 100%;
padding: 10px;
border-radius: 5px;
.form-wrap button{
display: block;
width: 100%;
padding: 10px;
margin-top: 20px;
background-color: #49c1a2;
color: #fff;
cursor: pointer;
font-family: 'poppins';
font-size: 15px;
transition: 1s;
}
.form-wrap button:hover{
background-color: #37a08e;
transition: 1s;
.form-wrap .bottom-text{
font-size: 13px;
margin-top: 20px;
.fn_counter{
font-size: 11px
footer {
text-align: center;
margin-top: 10px;
color: #333;
</style>
</head>
<body>
<div id="container">
<div class="form-wrap">
<h1>Sign Up</h1>
<p> Please Fill the Forms below.</p>
<form>
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
<label for="email">Email</label>
</div>
<div class="form-group">
<label for="password">Password</label>
</div>
<div class="form-group">
</div>
<script>
function textCounter(field,field2,maxlimit)
return false;
} else {
</script>
<form method="post">
<div>
<div>
</div>
</form>
</body>
</html>