Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By rupl on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x
Issue links:
Description:
Drupal 8 outputs HTML5 by default. The following changes were made to the core html.tpl.php template:
- HTML5 DOCTYPE
- The template introduces the
$html_attributes
variable in the<html>
tag - The template introduces the
$body_attributes
variable in the<body>
tag - RDFa attributes are no longer hardcoded into
<html>
, but output using the$html_attributes
variable
Impacts:
Module developers
Themers