Skip to content

平成25年度 秋期 ITパスポート試験 問80

This question's explanation and your answers so far.

問80
頻出度★☆☆

Web ページの作成・編集において, Web サイト全体の色調やデザインに統一性をもたせたい場合, HTML と組み合わせて利用すると効果的なものはどれか。

出典 平成25年度 秋期 ITパスポート試験 問80
解説

問 80

  • ア

    正解 The correct answer is ア, CSS (Cascading Style Sheets). CSS is a style sheet language that specifies the appearance of a web page (colors, fonts, spacing, layout, and so on). Its role is separated from that of HTML, which handles the document structure, and the two are used in combination. If you prepare a single external CSS file and have each HTML page in the site load it, the definitions of the color scheme and design are gathered in one place. As a result, the appearance is automatically unified across the whole site, and when you want to change the colors, fixing only that CSS file reflects the change on every page. CSS is the only option that matches the conditions in the question, namely unity across the entire site and use in combination with HTML.

  • Incorrectイ

    SNS (Social Networking Service) refers to internet services where users interact with each other and share information. It is not a mechanism for specifying the appearance of a web page, so it cannot be used in combination with HTML to unify the design.

  • Incorrectウ

    SQL (Structured Query Language) is a database language for searching, adding, updating, and deleting data in a relational database. What it deals with is data, not the color scheme or layout of the screen, so it does not lead to unifying the design.

  • Incorrectエ

    XML (Extensible Markup Language) is a markup language in which users can define their own tags, used to describe the structure and meaning of data. It is suited to data exchange and structuring, but in itself it is not a language for specifying appearance such as colors and fonts, so it does not fit the purpose of unifying the design of an entire website.

ここがポイント
  • Grasp the division of roles: HTML is responsible for the structure of the document, and CSS for the appearance (style). Separating structure from presentation is a basic idea in creating web pages.
  • If multiple pages load the same external CSS file in common, you can unify and change the color scheme and design of the whole site all at once, which improves maintainability.
用語

Your answers