Pages

Web designers use all types of files to create sites including .html, .css, .php, .aspx, and more. How one creates and saves files affect how they are processed; a .css files do not display the same as an .html web page.

Web sites require .html (or other web) ** Pages** because they contain the visible content of that site. Furthermore, other files (such as images and other media) typically are accessed by pages using hyperlinks, embeds, and more, which we will cover in greater detail.

html icon page.html

Hypertext Markup Language (HTML or HTM)

HTML is the standard language used to create web pages. HTML provides the structure of the page, using elements to create headings, paragraphs, lists, tables, links, etc. Properly-laid-out HTML is designed to enhance accessibility, and provide structured content outside of decorative styling.

  • Easy-to-learn, free or low-cost.
  • Widely-used; standardardized.
  • Extensive; has a large library and support community.
  • Requires a browser to correctly render the markup.
  • HTML Lexicon is in American English, and may require extra interpretation for non-English speakers.
css icon page.css

Cascading Style Sheet (CSS)

CSS is used to control how the page looks and responds to different display types. CSS is used to “decorate” the site. For example, CSS provides layout, color, interactive elements, fonts, and other formatting. HTML provides the contents of the page and CSS specifies how the site will look. Using a stylesheet greatly speeds up development time, as a single sheet can affect all pages in the site.

  • Speed and consistency in styling pages site-wide.
  • Supported by nearly all browsers.
  • Extensive; has a large library and support community.
  • CSS is different from HTML, and requires users to learn different syntax.
  • Interpreted differently across browsers including mobile; requires testing.

NoteIf there are separate HTML and CSS page, they must be linked together for the CSS to affect the HTML. This will be discussed later.


development design file page