Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Computer science (web design questions). 1.What is the directory (folder) on you

ID: 3781593 • Letter: C

Question

Computer science (web design questions).

1.What is the directory (folder) on your ONID server that is visible to the world?

2. Describe the Cascade order in a Cascading Style Sheet:

3. What is Hypertext Markup Language (HTML)?

4. What does SFTP stand for?

5. What is a home directory?

6. What text/code editing software will you use for this course?

7. Describe 5 syntax rules that must be followed when writing in PHP?

8. What verbs describe the objectives of the Web Design and Management courses?

9. What sites are the main guides to PHP functions?

/users/u2/*/**/

Explanation / Answer

1. Answer: /public_html/

Explanation: At ONID server (and, also in general), public_html is the directory (folder) where you put all your files that will be available publicly. You can also create addon domains and subdomains that will use the directory inside public_html. Also, just to mention, www is an alias that is set up to point to the public_html folder, but, it depends on the server configuration.

2. CSS (Cascading Style Sheets) describes how the document, that's written in a markup language (i.e. HTML), be displayed on the screen, or in other media. In CSS, a hierarchical order is followed when different style sheets create a conflicting situation. The following cascading order is used (from low priority to high priority).

a. External style sheets

b. Internal style sheets

c. Inline style sheets

In the case of a conflict, the rule of cascading order is as follows: The last one used takes the precedence over the previous styles.


Therefore, the Inline style sheets will be having the high precedence over the other style sheets as it will be the last one used. Similarly, Internal style sheets will take precedence over external style sheets, as browser consider all the external style sheets as they are occurring before the internal one. Following is a short description about the different style sheets.

Inline style sheets are placed in the <body> of HTML document using <style>.
For example: <p> This paragraph is brown in color</p>

Internal CSS and places in the <head> of the HTML document.
For example:
<html>
<head>
<style>
p {color: green;}
</style>
</head>
<body>
<p> This is a green paragraph.</p>
</body>
</html>

External style sheets is defined in a separate file and linked to the HTML document where style is required.

For example:

Using style.css:

p{

color: blue;

}

And, HTML file

<html>

<head>

<link rel="stylesheet" href="styles.css">

</head>

<body>

<p>This is a blue paragraph</p>

</body>

</html>

3. Hypertext Markup Language (HTML) is a markup language which is used to create web pages. Markup language tells the browser how to display the information. An example of simple HTML example (example.html) is shown below. The ouput of this document will be "Some paragraph." when opened in a broswer (i.e. chrome, firefox).

<!DOCTYPE html>

<html>

<head>

<title> Simple HTML example </title>

</head>

<body>

<p> Some paragraph. </p>

</body>

</html>

4. SFTP stands for Secure File Transfer Protocol. It uses a client-server based model to communicate between two systems (computers). SFTP is used to securely transfer (download/upload) files from the particular server (FTP server) by using the FTP client program. The SFTP protocol ensures the secure transmission by encrypting the data transferred to the FTP server. SFTP also prevents unauthorised access during the transfer of data.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote