What is HTML `
` tag?

  • Join  Lenovo Pro Business Store

    Log In / Sign Up

    Learn More

    Community


  • Accessibility
  • Sales:

    Home:

    1-855-253-6686

    Business:

    1-866-426-0911

    Chat Now >

    Visit Sales Support Page >


    Order Support:

    Order Lookup >

    Visit Order Support Page >

    Technical Support >

Lenovo
All
  • All
  • Laptops
  • Desktops
  • Workstations
  • Monitors
  • PC Accessories & Electronics
  • Tablets
  • Servers & Storage
  • Servers Accessories
  • Sign In / Create Account
    My Lenovo Account
    Keep track of your wishlist, orders, and rewards all in one place
    Sign In / Create Account
    Welcome Back!
    Access your order, subscriptions, saved carts, rewards balance, and profile
    View My Account
    Orders
    View & track your orders
    Rewards
    Earn & redeem Rewards
    Profile
    Edit name, password, and account settings
    Wishlist
    Manage a wishlist of your favorite products
    Products
    Manage your devices, accessories
    Product Registration
    Register your product and/or update your warranty dates
    Lenovo Family Hub
    Manage your family's orders all in one place
    Sign Out
  • My Lenovo Rewards
  • Cart
  • Products
  • Solutions
  • Services
  • Support
  • About Lenovo
  • Deals
  • Business
  • Student
  • Gaming
  • AI
  • Digital Workplace
  • Hybrid Cloud
  • Edge
  • Sustainability
  • TruScale
  • Solutions by Industry
  • Alliance Partners
  • Other Solutions
  • Resources
TEMPORARILY UNAVAILABLE
DISCONTINUED
Temporary Unavailable
Cooming Soon!
. Additional units will be charged at the non-eCoupon price. Purchase additional now
We're sorry, the maximum quantity you are able to buy at this amazing eCoupon price is
Sign in or Create an Account to Save Your Cart!
Sign in or Create an Account to Join Rewards
Temporarilyunavailable
Discontinued
comingsoon
View Cart
Remove
minicart_error_please_view
Your cart is empty! Don’t miss out on the latest products and savings — find your next favorite laptop, PC, or accessory today.
item(s) in cart
Some items in your cart are no longer available. Please visit cart for more details.
has been deleted
Please review your cart as items have changed.
of
Contains Add-ons
Subtotal
Proceed to Checkout
Yes
No
Popular Searches
What are you looking for today ?
Trending
Recent Searches
Items
All
Cancel
Top Suggestions
View All >
Starting at
  • Black Friday in July! Limited-time Doorbusters + Buy more, Save more!  Shop Now >

  • Buy online, pick up select products at Best Buy. Shop Pick Up >

  • My Lenovo Rewards! Earn 3%-9% in rewards and get free expedited delivery on select products. Join for Free >

  • Shopping for a business? New Lenovo Pro members get $100 off first order of $1,000+, exclusive savings & 1:1 tech support. Learn More >

  • Lease-to-own today with Katapult. Get started with an initial lease payment as low as $1! * Learn More >

Home > Glossary > What is HTML `
` tag?
Glossary Hero
Learn More
StarStar

Annual Sale

Lenovo Laptop SaleLenovo Laptop Sale

Laptop Deals

Desktop DealsDesktop Deals

Desktop Deals

Workstation DealsWorkstation Deals

Workstation Deals

StoreStore

Pick Up Today at Best Buy

ControllerController

Gaming PC & Accessory Deals

MouseMouse

PC Accessories & Electronics Deals

MonitorMonitor

Monitor Deals

Tablet and phoneTablet and phone

Tablets & Phones Deals

ServerServer

Server & Storage Deals

Discount tagDiscount tag

Clearance Sale


What is HTML `<header>` tag?

The HTML `<header>` tag is used to define the introductory content of a document or a section. This tag typically contains headings, introductory texts, navigation links, and sometimes logos. It gives structure and meaning, signifying that the enclosed content is introductory or contained within a specific section of the document. The HTML `<header>` tag should not be confused with header elements such as headings, which are typically enclosed within the header.

Can I use multiple HTML `<header>` tags in one document?

Yes, you can use multiple HTML `<header>` tags within a single HTML document. It's common to find an HTML `<header>` tag at the beginning of the entire document and additional `<header>` tags within article or section elements. Each header should be appropriately scoped to its nearest sectioning content or document root to maintain semantic meaning.

Does the HTML `<header>` tag contain navigation elements?

It can. The HTML `<header>` tag often includes navigation elements, such as a list of links encapsulated within `<nav>` tags, allowing users to easily navigate to different sections of the document or website. However, the inclusion of navigation elements is optional and depends on the structure and function of the webpage.

When should I avoid using the HTML `<header>` tag?

You should avoid using the HTML `<header>` tag when your content doesn't serve an introductory or navigational purpose. For instance, it shouldn't be used for content that is unrelated to the overall heading or introductory context of a section. Misuse can lead to poor semantic structure and reduced accessibility for users and search engines.

Can the HTML `<header>` tag improve SEO?

Yes, using the HTML `<header>` tag appropriately can improve your website's SEO. Search engines use the semantic structure provided by HTML elements, including the HTML `<header>` tag, to understand the content and context better. Proper use of this tag can make your content more accessible and understandable to search engines, potentially enhancing your site's ranking.

What types of content are typically placed within an HTML `<header>` tag?

Typically, an HTML `<header>` tag contains a mix of elements such as heading tags (like `<h1>` to `<h6>`), introductory paragraphs, logos, and navigation links. The content should be chosen to introduce or encapsulate the main theme or navigational structure of the document or its sections.

Does the HTML `<header>` tag support global attributes?

Yes, the HTML `<header>` tag supports global attributes. This includes standard HTML attributes like `class`, `id`, `style`, and `title`, among others. Utilizing these attributes can help with styling, scripting, and improving the interactivity of the elements contained within the HTML `<header>` tag.

How does the HTML `<header>` tag relate to responsive design?

The HTML `<header>` tag plays a significant role in responsive design. By using appropriate classes, IDs, and CSS media queries, you can ensure that the content within your HTML `<header>` tag adapts seamlessly across different devices and screen sizes. This is crucial for maintaining a user-friendly experience.

Can the HTML `<header>` tag contain images?

Yes, the HTML `<header>` tag can contain images. For instance, you might include a logo or a relevant banner image within the HTML `<header>` tag to visually represent the section or the entire document. It's common to use an `<img>` tag to insert images in the header.

Is the HTML `<header>` tag considered a block-level element?

Yes, the HTML `<header>` tag is considered a block-level element. This means it will occupy the full width of its containing element, creating a distinct section in the document flow. This block-level behavior helps maintain the structure and organization of the webpage's content.

Do screen readers recognize the HTML `<header>` tag?

Yes, screen readers and other assistive technologies recognize the HTML `<header>` tag. This helps users who rely on these technologies to navigate and understand the document structure. Proper usage of the HTML `<header>` tag enhances accessibility, making content more comprehensible to all users.

Would it be correct to use the HTML `<header>` tag inside a `<footer>` tag?

No, it would not be semantically correct to use the HTML `<header>` tag inside a `<footer>` tag. The `<footer>` tag is meant to enclose information about its containing element and is generally placed at the bottom. Using an HTML `<header>` tag within a footer contradicts the structural and semantic intent of both tags.

Could I style the HTML `<header>` tag with CSS?

Absolutely, you can style the HTML `<header>` tag with CSS. By targeting the HTML `<header>` tag in your CSS, you can define various styles such as background color, font size, padding, and margin to enhance the appearance and user experience of the content within the header.

When using an HTML `<header>` tag, should I include meta tags inside it?

No, meta tags should not be placed inside the HTML `<header>` tag. Instead, meta tags should be included within the `<head>` section of the HTML document. The HTML `<header>` tag is intended for the content that introduces or outlines the structure of a page or section, not for metadata.

How does the HTML `<header>` tag impact the browser's understanding of the document structure?

The HTML `<header>` tag provides browsers with clear semantic information about the introductory content of a page or section. Browsers use this information to render content more effectively and support features like indexed search results, browser navigation, and enhanced accessibility for assistive technologies.

Can I use JavaScript to manipulate the content of the HTML `<header>` tag?

Yes, you can use JavaScript to manipulate the content of the HTML `<header>` tag. By targeting the HTML `<header>` tag with JavaScript methods, you can dynamically update text, add classes, modify styles, or insert new elements into the header to enhance interactivity and user experience.

Is it appropriate to use the HTML `<header>` tag for advertisement banners?

While you can include advertisement banners within the HTML `<header>` tag, it's generally better to keep the header content focused on introductory and navigational elements. If the advertisement is relevant to the section or document's intro, it might be appropriate, but avoid overloading the header with content that might distract from its primary purpose.

What role does the HTML `<header>` tag play in web accessibility?

The HTML `<header>` tag plays a crucial role in web accessibility. When used correctly, it helps screen readers and other assistive devices understand and navigate the document's structure. This makes the content more accessible to users with disabilities, improving their overall browsing experience.

Would using multiple HTML `<header>` tags affect the semantics of my web page?

Using multiple HTML `<header>` tags won't negatively impact your web page's semantics as long as each `<header>` tag is correctly scoped to its nearest sectioning content or document root. Proper use of multiple headers helps maintain a clear and organized document structure, enhancing readability and accessibility.

Looking for a Great Deal?
Shop Lenovo.com for great deals on A+ Education PCs, Accessories, Bundles and more.
Shop Deals Now

  • Legion 7i Gen 9 (16″ Intel) Gaming Laptop
    Starting at
    $1,699.99
    Learn More
  • ThinkPad X9 15 Aura Edition (15ʺ Intel) Laptop
    Starting at
    $1,195.92
    Learn More
  • Yoga Book 9i (13” Intel)
    Starting at
    $1,999.99
    Learn More
  • Yoga 9i 2-in-1 Aura Edition (14″ Intel) Laptop
    Starting at
    $1,439.99
    Learn More
  • ThinkPad P1 Gen 7 (16″ Intel) Mobile Workstation
    Starting at
    $1,991.17
    Learn More
  • Shop
    • Student Deals
    • K-12 Student Laptops
    • Student Accessories
    • Laptops by Major
    Education resource
    Explore
    • What is STEM?
    • Best Laptops for College
    • Student & Teacher Discounts
    • Lenovo Sustainability Programs
    Education carry case

    Stem Articles
    See All STEM Articles
    • Online STEM Education

    • STEM Career Tips & Resources

    • Women in STEM

    • STEM Educator Training

    • STEM Grants & Funding

    • STEM Education: Coding for Kids

    • STEM Education: Robotics

    • STEM Education: Biotechnology

    • STEM Education: Sustainability

    • STEM Education: AI & ML

    While every effort has been made to ensure accuracy, this glossary is provided for reference purposes only and may contain errors or inaccuracies. It serves as a general resource for understanding commonly used terms and concepts. For precise information or assistance regarding our products, we recommend visiting our dedicated support site, where our team is readily available to address any questions or concerns you may have.

    Why Lenovo?

    Go Greener with Leno...

    Lenovo is committed to Smarter Climate Action with lower energy laptops, use of sustainable materials and packaging, and available CO2 Offset Services.
    Learn More
    pastel background

    Get It Now, Pay For ...

    Lenovo has multiple financing option: the Lenovo Credit Card, installment plans, and lease-to-own financing op...
    Learn More
    pastel background

    Productivity & Peace of Mind

    Stay productive with Premium Care Plus - 24/7 priority support and coverage against accidental damage. Power through your day with our Smart Performance and extended battery solutions.
    Learn More
    pastel background

    Fast & Secure

    Get the most from your laptop with Lenovo’s state-of-the-art Smart Performance, delivering powerful, all-in-on...
    Learn More
    pastel background

    Assistance and Suppo...

    Chat with a trained professional who can help you find the right products, place or check on an order, or setup your Education laptop.
    Contact Us
    pastel background
    Enter email to receive Lenovo marketing and promotional emails. Review our Privacy Statement for more details.
    Please enter the correct email address!
    Email address is required
    • Facebook
    • Twitter
    • Youtube
    • Pinterest
    • TikTok
    • Instagram
    Select Country / Region:
    Country
    AndroidIOS

    About Lenovo

    • Our Company
    • News
    • Investors Relations
    • Compliance
    • ESG
    • Product Recycling
    • Product Security
    • Product Recalls
    • Executive Briefing Center
    • Lenovo Cares
    • Careers
    • Formula 1 Partnership

    Products & Services

    • Laptops & Ultrabooks
    • Smarter AI for You
    • Desktop Computers
    • Workstations
    • Gaming
    • Tablets
    • Servers, Storage, & Networking
    • Accessories & Software
    • Services & Warranty
    • Product FAQs
    • Outlet
    • Deals
    • Lenovo Coupons
    • Cloud Security Software
    • Windows 11 Upgrade

    Shop By Industry

    • Small Business Solutions
    • Large Enterprise Solutions
    • Government Solutions
    • Healthcare Solutions
    • Higher Education Solutions
    • Education Discounts
    • Discount Programs

    Resources

    • Legion Gaming Community
    • Lenovo EDU Community
    • Lenovo Pro Community
    • Lenovo Pro for Business
    • My Lenovo Rewards
    • Lenovo Financing
    • Lenovo Trade-in
    • Customer Discounts
    • Affiliate Program
    • Affinity Program
    • Employee Purchase Program
    • Lenovo Partner Hub
    • Laptop Buying Guide
    • Where to Buy
    • Glossary

    Customer Support

    • Contact Us
    • Policy FAQs
    • Return Policy
    • Shipping Information
    • Order Lookup
    • Register a Product
    • Replacement Parts
    • Technical Support
    • Forums
    • Provide Feedback
    © 2025 Lenovo. All rights reserved.
    PrivacyCookie Consent ToolDo Not Sell or Share My Personal InformationU.S. Privacy NoticeSite MapTerms of UseExternal Submission PolicySales terms and conditionsAnti-Slavery and Human Trafficking Statement
    Compare  ()
    x
    Call

    Need Help? Call: 

    1-855-253-6686
    Select Your Store
    Add items to your cart?
    We've noticed that you've entered a different store. Do you want to add these items to your cart in the new store?
    No Yes. Add in Lenovo Pro