Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8077343
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T15:27:13+00:00 2026-06-05T15:27:13+00:00

I am new to using Jade — and it’s awesome so far. But one

  • 0

I am new to using Jade — and it’s awesome so far.

But one thing that I need to happen is an element with ‘itemscope’ property:

<header itemscope itemtype="http://schema.org/WPHeader">

My Jade notation is:

header(itemscope, itemtype='http://schema.org/WPHeader')

But result is:

<header itemscope="itemscope" itemtype="http://schema.org/WPHeader">

How can I make sure that I get the right result — itemscope instead of itemscope="itemscope"?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T15:27:14+00:00Added an answer on June 5, 2026 at 3:27 pm

    I just tried it in a Express.js/Jade project and the result i get is:

    <header itemscope itemtype="http://schema.org/WPHeader"></header>
    

    I also tried it in bash and then I get the same result as you.

    I’d go with the following suggestion or create an issue on Github.

    itemscope=”itemscope” will work just as well as just itemscope. It looks like that’s the default behavior of Jade. I’d just go with it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ok, I'm new using this connect by thing. But its always quite useful. I
I'm new using Yii framework. I show a list a checkbox. But it's not
I'm new using OpenAl library. I'm following the OpenAl programming guide but i can't
I'm new using vs2010 I've read that when you click on a variable its
I want to mention that I'm new using sql developer and I'm trying to
New to using Instruments, but figured it would be good to help the performace
I'm currently using Jade on a new project. It seems well-suited to composing webapp
Maybe this is a very silly question but I'm new using django. I have
Need help in updating records using LinQ. I tried updating the record, but it
It's a very common situation, but I'm kinda new using ORM especially in Android,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.