Font size
WorksheetsWebsite Development
Total questions: 14
Worksheet time: 36mins
How would you declare a Document Type of HTML
<html>
<!DOCTYPE html>
<body>
<style>
How would you refer to an ID in CSS
#id
.id
id
@id
What is the tag for JS
<script>
<style>
<JS>
<Jquery>
How do you make a object go to the top right?
.object {
float: left;
}
.object {
text-align: top-right;
}
.object {
float-right;
}
.object {
float: right;
}
How would you connect a database with php (using mysql)?
$conn = mysqli(databasename)(username)(password)
$conn = new mysqli($databasename, $username, $password)
conn = new($variable(databasename, username, password)
conn = mysqli($databasename, username, password)
What is the tag to call CSS in html?
<script>
<CSS>
<style>
<Jquery>
How do you tag php?
<php>
<ph>
<?php
<p>
What are some of the common languages in website development?
Html, css, javascript, php
Html, c++, c#, javascript, php
Wordpress
Html, css, javascript, c#
What is the language used to write in most sql databases?
php
sql script
Wordpress
phpmyadmin
How do you call a hyperlink in html?
<a href="link">name</a>
<a link="link">name</a>
<li href="big">name</a>
<ul href="big">name</a>
How do you make your cursor a pointing hand when hovering?
#button:hover {
cursor: pointer;
}
#button.hover {
cursor: pointer;
}
#button:hov {
cursor: point;
}
I don't know css
In javascript, how do you make a redirecter?
document.getElementById("redirectbutton").onclick = function () {
location.href = "link"
};
document.getElementById("redirectbutton").onclick = function () {
location.href = "link";
};
document.getElementById("redirectbutton").click = function () {
location.href = "link";
};
i dont know js
Congrats! You have some of the basics of web development down. Good job! (select both ok's for correct)
ok
ok
You should go try out my C and C++ basics tutorial. (might not be up yet and select both ok's for correct)
ok
ok
