Skip to content

平成31年度 春期 ITパスポート試験 問81

This question's explanation and your answers so far.

問81
頻出度★☆☆

Web サイトを構築する際にスタイルシートを用いる理由として, 適切なものはどれか。

出典 平成31年度 春期 ITパスポート試験 問81
解説

問 81

  • Incorrectア

    Exchanging data securely between the web server and the web browser is handled by SSL/TLS (HTTPS), which encrypts the communication. CSS only specifies appearance and has no function to encrypt or protect communication.

  • Incorrectイ

    The mechanism that distributes and notifies users of website update information is feed technology such as RSS or Atom. CSS arranges the layout of what is displayed and has no update-notification function.

  • Incorrectウ

    Identifying website users is handled by mechanisms such as cookies and session management. CSS only specifies appearance and has no function to identify users.

  • エ

    正解 A style sheet (CSS) is a mechanism for separating the 'content and structure' of a document handled by HTML from its 'appearance (layout)' such as color, font, and layout. By collecting the appearance rules into a single CSS file and having multiple web pages load it in common, the design of the whole site can be unified at once. Since fixing the CSS in just one place changes the appearance of all pages at the same time, both unification and maintenance become easy. Therefore 'it makes it easy to unify the appearance of multiple web pages' = エ is correct.

ここがポイント
  • A style sheet (CSS) is a mechanism that separates the 'content and structure' of HTML from its 'appearance (layout)', specifying color, font, and layout.
  • By having multiple pages reference a common CSS, the appearance of the whole site can be easily unified, and a fix in one place is reflected across all pages, so maintainability is also high.
用語

Your answers