0% found this document useful (0 votes)
15 views

Web Development

The document contains examples of basic HTML code structure and JavaScript code snippets related to web development, including: - Multiple HTML pages with <html>, <head>, <body> tags and use of <title>, <style>, <link>, <script> elements - JavaScript code examples using alert(), while loops, for loops, variables, if/else statements - A link to an external web page is included The document provides examples of fundamental building blocks for web development including HTML page structure, CSS styling, external JavaScript, and basic JavaScript programming constructs.

Uploaded by

Hilalzk
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

Web Development

The document contains examples of basic HTML code structure and JavaScript code snippets related to web development, including: - Multiple HTML pages with <html>, <head>, <body> tags and use of <title>, <style>, <link>, <script> elements - JavaScript code examples using alert(), while loops, for loops, variables, if/else statements - A link to an external web page is included The document provides examples of fundamental building blocks for web development including HTML page structure, CSS styling, external JavaScript, and basic JavaScript programming constructs.

Uploaded by

Hilalzk
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

Web Development

<!DOCTYPE html>

<html lang="en">
<head>
<title>hello, world</title>
</head>
<body>
hello, world
</body>
</html>
<!DOCTYPE html>

<html lang="en">
<head>
<style>

</style>
<title>hello, world</title>
</head>
<body>
hello, world
</body>
</html>
<!DOCTYPE html>

<html lang="en">
<head>
<link href="styles.css" rel="stylesheet"/>
<title>hello, world</title>
</head>
<body>
hello, world
</body>
</html>
<!DOCTYPE html>

<html lang="en">
<head>
<title>hello, world</title>
</head>
<body>
hello, world
</body>
</html>
<!DOCTYPE html>

<html lang="en">
<head>
<title>hello, world</title>
</head>
<body>
hello, world
</body>
</html>
<!DOCTYPE html>

<html lang="en">
<head>
<title>hello, world</title>
</head>
<body>
hello, world
</body>
</html>
<!DOCTYPE html>

<html lang="en">
<head>
<script>

</script>
<title>hello, world</title>
</head>
<body>
hello, world
</body>
</html>
<!DOCTYPE html>

<html lang="en">
<head>
<script src="scripts.js"></script>
<title>hello, world</title>
</head>
<body>
hello, world
</body>
</html>
alert("hello, world");
while (true)
{
alert("hello, world");
}
for (var i = 0; i < 10; i++)
{
alert("hello, world");
}
var counter = 0;
while (true)
{
alert(counter);
counter++;
}
if (x < y)
{
alert("x is less than y");
}
else if (x > y)
{
alert("x is greater than y");
}
else
{
alert("x is equal to y");
}
http://nifty.stanford.edu/2011/parlante-image-puzzle/
Web Development

You might also like