95042 - html exam/qstyle.css
.greenText {color:green;}
#redText{color:red;}
95042 - html exam/question 25.html
Welcome to HTML learning
HTML is the standard markup language for web pages. Tags and attributes are the basis of HTML.
95042 - html exam/question4.html
Header
Paragraph of Text
95042 - html exam/webtec-final-exam-2-hours-dsnsxrbl.docx
Online Final Exam( 2 hours )
Top of Form
Bottom of Form
Question 1
Marked out of 4.00
Question text
What is the difference between HTML and XHTML?
Answer text
HTML stands for hypertext markup language and it is generally used for creating the web pages. It allows us to easily create the web pages and link them with one another. It is not the programming language, but it is known as the markup language. All the tags and attributes are not required to be in either lower or upper case. The doctype is not required to write at the top of the file.
The XHTML stands for extensible hypertext markup language. We can consider this as the part of example markup language because it has features of the HTML and examined. It is extended from the example an HTML. We can consider is as the updated version of HTML. Every tag in the attribute should be in its lowercase. It is important to write the doctype at the top of the file.
Answer files
Question 2
Marked out of 4.00
Question text
Explain the difference between “client” and “server”.
Answer text
The major difference between the client and server is that the server is a machine order program which can provide services to the clients as per their request and the client is the machine or the program which can request for the services through the web. The client device can be defined as the machine which is used by the end users to access the web. The examples of such devices are laptops, smartphones, desktops or the tablets. The client program will allow the user to make request through the web. A user will be able to request for the web page through the web browser.
The server can be the device which can provide services to the client request. These devices will run the server programs. The single server is able to provide services to the multiple clients simultaneously. The servers generally run continuously. We can have multiple servers for the single machine. We can have web server and the file server running at the same time to serve different clients. It is possible to have the client server using the same machine.
Answer files
Question 3
Marked out of 4.00
Question text
Explain the various parts of the following URL:
http://tau.usq.edu.au:8080/courses/CSC2406/StudyBook/01Introduction.html
Answer text
The URL consists of five basic parts which are ski, sub domain, top level domain, second level domain and the sub directory. The scheme will inform us about the web servers which protocol will follow when it is accessing the page on the website. The given URL has HTTP which is the hypertext transfer protocol.
The subdomains are like this specific rooms in the house if the house is website. The sub domain in the URL shows the particular page of the website to which the web browser should serve up. The sub domain for the given URL is tau.
the second level domain is the name of the website. It will help us to know that they are visiting the certain site of the brand. The second level domain of the given URL is usq.
The top-level domain will specify wild what type of entity the organization registers as over the Internet. The URL shows that it has the education as the organization we're just present in Australia. It has two different top-level domains.
The 8080 Is the 4th number presented the URL.
The sub directory is the last part which is presenting the it is known as the sub folder. It helps the people and the web crawlers to understand which particular section of the webpage they are present on. As we can see in the given URL it has the path for the given file which is presenting a particular folder. it shows the complete path for the file which is present in the third level of the folder.
Answer files
Question 4
Marked out of 4.00
Question text
Construct the equivalent HTML for the following document tree:
Answer text
MyDocumentHeader
Paragraph of Text
Answer files
Question 5
Marked out of 4.00
Question text
How will you link an external style sheet to your HTML document? In which part of the HTML document should this information be placed?
Assume that the name of your external style sheet is examstyle.css.
Answer text
The external stylesheet is linked in the HTML document in its head tag.
Answer files
Question 6
Marked out of 4.00
Question text
CSS style rules follow the form:
selector {property: value;}
Explain the terms “selector”, “property”, and “value” with an example.
Answer text
The selector will allow us to select system defined tag in the code. it will allow us to select elements with the specified property and the value.
a[target="_blank"] {
background-color: black;
}
In the given example a is the selector, target is the property and blank is the value.
Answer files
Question 7
Marked out of 4.00
Question text
In CSS, what are...