In HTML, :root represents the <html> element and is identical to the selector html , except that its specificity is higher.