stupid question – what is needed in the <head> tag?
-
OK so I actually know a decent amount of html and css and am learning the wordpress php commands pretty quickly, but this is one thing I still don’t get. What info do I need to place in the <head> tag of a new theme? And the <html> tag for that matter. For example, I’ve seen things such as:
<html xmlns="https://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> <head profile="https://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
I understand what the meta tag does, but not the rest. Also, where do put doctype? I know these are stupid questions but I’ve searched and come up empty. If there’s a codex page with this info a link to it is all I really need, I just haven’t been able to find it. Thanks a lot.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘stupid question – what is needed in the <head> tag?’ is closed to new replies.