Web-standard File Name Conventions Review

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Cherylcolan
C
Cherylcolan
Community Contributor
Quizzes Created: 1 | Total Attempts: 153
Questions: 8 | Attempts: 153

SettingsSettingsSettings
Web-standard File Name Conventions Review - Quiz


This quiz is an opportunity to review file naming conventions for web sites for students in my ART190 Art of Web Design class, Spring 2010.
You can take the quiz as many times as you want, just to review after we discuss this subject in class, or before the midterm exam.
To begin, enter your first name below and then click the Start Quiz button.


Questions and Answers
  • 1. 

    True or False: File names for websites should be all lowercase.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    Most web servers are case-sensitive, but not all. To avoid problems on non-case-sensitive servers, it is helpful to consistently name your files using lowercase only, and be consistent in your usage.

    Rate this question:

  • 2. 

    Which is the appropriate file extension for a web page?

    • A.

      .htm

    • B.

      .html

    Correct Answer
    B. .html
    Explanation
    Technically, either one will work; however the full ".html" file extension is most appropriate.

    Rate this question:

  • 3. 

    Yes or No: It is okay to have a blank space in a file or folder name.

    • A.

      Yes

    • B.

      No

    Correct Answer
    B. No
    Explanation
    Most operating systems allow blank spaces in filenames. While most web browsers will substitute "%20" for the space, some browsers may not recognize these. Blank spaces can also cause links sent in e-mail programs to break, thus confusing the recipient.

    Rate this question:

  • 4. 

    In any given directory (folder), what should the main page filename be? (note, the text field below says "two words" but that's not quite right - the answer expects a file name and a file extension, with a period in between - just like on your computer)

    Correct Answer
    index.html
    Explanation
    When you use index.html as your default page, the server recognizes this to be the main page of the directory and thus does not require you to type the file name at the end of the address.

    Rate this question:

  • 5. 

    Directory names and file names should be:

    • A.

      Only 8 characters long

    • B.

      Descriptive and meaningful

    Correct Answer
    B. Descriptive and meaningful
    Explanation
    Descriptive names help you recognize what content the file or folder contains and offer clues to users who stumble upon a page via a search.

    Rate this question:

  • 6. 

    Yes or No: The following characters may be included in a file or folder name:/ ,  % ; : * ' " ?

    • A.

      Yes

    • B.

      No

    Correct Answer
    B. No
    Explanation
    These characters are reserved as providing other information to a web server and therefore may not be used as part of a file or folder name. For example, a forward slash (/) indicates a subdirectory.

    Rate this question:

  • 7. 

    True or false: a hyphen (-) or underscore (_) can be used in a file or folder name.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    These characters are allowed. They are commonly used in place of a blank space to help distinguish individual words. The hyphen is more popular than the underscore because it does not require the Shift key to type it, saving a keystroke.

    Rate this question:

  • 8. 

    All of these would be appropriate, but which filename would be best for an about page?

    • A.

      About-me.html

    • B.

      About.html

    • C.

      About_me.html

    Correct Answer
    B. About.html
    Explanation
    The shortest possible file name that still conveys meaning is always preferable. It saves you and your users from typing longer URLs when linking to the page.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Sep 13, 2024
    Quiz Edited by
    ProProfs Editorial Team
  • Mar 26, 2009
    Quiz Created by
    Cherylcolan
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.