I am new to Drupal and I need to add an attribute to the HTML tag, but I cannot find the way. Thank you for the help.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This probably depends in part on your theming mechanism. However, the doctype and html tags are likely hard-coded in
page.tpl.phpor similar (located in sites/all/themes/themename). The exact file will depend on your theme.For example, I have a site with the following in
page.tpl.php:As you can see, there is some information being injected by PHP. This would be the place for you to make your change.