Sf.gov is built with the following tech stack:
Document Encoding
UTF-8
UTF-8 (8-bit UCS/Unicode Transformation Format) is a variable-length character encoding for Unicode. It is the preferred encoding for web pages.
Document Standards
Meta Description
The description attribute provides a concise explanation of the page content.
Canonical Content Tag
Public specification of a preferred URL for a page allows search engines to understand the original location for content.
HREF Lang
Contains language specific links.
Cascading Style Sheets
Cascading Style Sheets (CSS) is a stylesheet language used to describe the presentation of a document written in a markup language. Its most common application is to style web pages written in HTML
Javascript
JavaScript is a scripting language most often used for client-side web development.
Javascript Defer
The defer attribute gives a hint to the browser that the script does not create any content so the browser can optionally defer interpreting the script. This can improve performance by delaying execution of scripts until after the body content is parsed and rendered.
HTML5 DocType
The DOCTYPE is a required preamble for HTML5 websites.
HTML 5 Specific Tags
This page contains tags that are specific to an HTML 5 implementation.
Content Type Options
Used to disable MIME-sniffing for a particular HTTP response.
Strict Transport Security
The HTTP Strict-Transport-Security (HSTS) header instructs the browser to only use https.
Mobile
Viewport Meta
This page uses the viewport meta tag which means the content may be optimized for mobile content.
Language
United States HREF LANG
This webpage has alternate versions available in United States via the use of the hreflang tag.
SSL Certificates
HSTS
Forces browsers to only communicate with the site using HTTPS.