• Skip to main content
  • Skip to navigation

Cookies on Legislation.gov.uk

The cookies on legislation.gov.uk do two things: they remember any settings you've chosen so you don't have to choose them on every page, and they help us understand how people browse our website, so we can make improvements and fix problems. We need your consent to use some of these cookies.

  • Find out more or set individual cookie preferences
Join the team
Would you like to join the legislation.gov.uk team? We’re currently recruiting for a Data Analyst (Developer).
  • Click here to apply
  • Close

legislation.gov.uk

http://www.nationalarchives.gov.uk
  • Cymraeg
  • Home
  • Explore our collections
  • Research tools
  • Help and guidance
  • What's new
  • About us
  • Search LegislationHide

Search Legislation

Advanced Search

Back to top

HTML Format

We provide the content of sections and tables of contents in a ready-transformed HTML format that is suitable for embedding within a web page. These HTML snippets are only available through their representation URI and not through content negotiation. The URI for an HTML snippet for a particular item of legislation can be identified through the <atom:link> with a title of HTML snippet within the XML or user-oriented HTML provided on the site.

The HTML snippets are wrapped in a <div> element with a class of LegSnippet. Many other classes are used within the HTML. Default stylesheets for these classes are available at:

  • legislation.css
  • primarylegislation.css for primary legislation
  • secondarylegislation.css for secondary legislation
  • legislation.css for Northern Ireland Acts
  • explanatoryNotes.css for Explanatory Notes

The HTML snippets include context information, such as the title of the Part that the section you're looking at belongs to.

  • New site design
  • Help
  • About us
  • Site map
  • Accessibility
  • Contact us
  • Privacy notice
  • Cookies

OGL logoAll content is available under the Open Government Licence v3.0 except where otherwise stated. This site additionally contains content derived from EUR-Lex, reused under the terms of the Commission Decision 2011/833/EU on the reuse of documents from the EU institutions. For more information see the EUR-Lex public statement on re-use.

© Crown and database right