Beruflich Dokumente
Kultur Dokumente
1. HTML links:-
<!DOCTYPE html>
<html>
<head>
<style>
a:link {
color: green;
background-color: transparent;
text-decoration: none;
}
a:visited {
color: pink;
background-color: transparent;
text-decoration: none;
}
a:hover {
color: red;
background-color: transparent;
text-decoration: underline;
}
a:active {
color: yellow;
background-color: transparent;
text-decoration: underline;
}
</style>
</head>
<body>
<h2>Link Colors</h2>
</body>
</html>
JAVASCRIPT
1. Control Structure:-
Ans :-Conditional statements and Loops are the controls.
2. METHODS:-
Ans :- Pre defined methods and Properties are in javascript
JavaScript Get Date Methods
Method Description
getFullYear() Get the year as a four digit number (yyyy)
getMonth() Get the month as a number (0-11)
getDate() Get the day as a number (1-31)
getHours() Get the hour (0-23)
3. VALIDATION:-
If a form field (fname) is empty, this function alerts a message, and returns
false, to prevent the form from being submitted:
<!DOCTYPE html>
<html>
<head>
<script>
function validateForm() {
var x = document.forms["myForm"]["fname"].value;
if (x == "") {
alert("Name must be filled out");
return false;
}
}
</script>
</head>
<body>
</body>
</html>
B. Numeric Validation:-
<!DOCTYPE html>
<html>
<body>
<input id="numb">
<p id="demo"></p>
<script>
function myFunction() {
var x, text;
</body>
</html>
The first thing to consider when starting your website is to choose a web hosting provider (if
you already have a web domain1). The web hosting provider provides the web space (i.e.
special computers called web servers) where your website files are stored, as well as
the technologies and services needed for your website to be viewed on the Internet.
You can buy your domain and hosting from multiple providers, including HostGator India. But
did you know that HostGator India’s award-winning hosting services are ideal for pros and
beginners with little or no technical skills? They offer you a super easy way to set up (with
just one click) and manage your website cost-effectively with:
Static or Basic Websites: Static websites are simple websites with one or more web pages
(called HTML pages). You can build them on your computer with software like Dreamweaver
and then upload the pages to your host’s server using any FTP software (such as FileZilla).