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 9009665
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T02:15:46+00:00 2026-06-16T02:15:46+00:00

In IntelliJ IDEA 11 or 12, with an HTML file open, typing <img src=

  • 0

In IntelliJ IDEA 11 or 12, with an HTML file open, typing

<img src=

causes automatic insertion of double quotes, resulting in

<img src=""

Since I type ahead of where I read, this usually means I end up with something like

<img src=""image.png" alt="Image"/>"

How do I prevent double-quotes from being inserted automatically after attribute names?

  • 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-16T02:15:47+00:00Added an answer on June 16, 2026 at 2:15 am

    I’ve tried it with IDEA 12 and double quotes are inserted only after you start completing src attribute and press Enter or type = to confirm the completion. It doesn’t happen automatically, you invoke completion that inserts quotes.

    There is no option to control it, so you will have to break your habit to insert quotes manually and use Enter instead.


    It’s also possible to use the template completion with:

    imgTab to generate <img src="" alt=""> with the caret inside first pair quotes.
    Then just enter the image file name, Tab, enter alt text.

    You can always submit a feature request to disable adding quotes on attributes completion.

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

Sidebar

Related Questions

In IntelliJ IDEA, when I am editing an HTML file and open a tag
In Intellij IDEA, if you press ctrl + F , and start typing characters,
I am using IntelliJ IDEA 11.1.2 Ultimate with Gradle 1.0 multi module project. One
I use IntelliJ Idea with Git. When I pull from repository, I get following
I do used IntelliJ IDEA as my development environment at past and I have
I configured IntelliJ IDEA 6.0.6 to use Subversion for version control. The Subversion menu
I just started using IntelliJ-IDEA, and I don't know if the problem resides with
I'm using intelliJ IDEA version 9.0.1 build #IU 93.94 with JDK 1.6.0_17. This error
I'm using Intellij IDEA Community Edition for IDE, and I like it a lot.
I upgraded to IntelliJ IDEA 11 CE and I cannot execute any tests or

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.