Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Use The Current Filename As The HTML Body Id

DZone's Guide to

Use The Current Filename As The HTML Body Id

·
Free Resource
// Makes the body id = the current filename - extension
// Useful while working on static markup that relies on styles/scripts targeting the current page 



  


Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}