cannot add extra spaces ' ' in chrome developer tools while editing
问题 I was trying to add extra spaces ( ) inside a div tag in Elements section in chrome developer tools. <div>hello world</div> The above renders as literal. Expected: hello world Actual: hello world 回答1: When you are using Chrome's Developer Tools, you don't need to worry about HTML entities . Simply writing the code as you would in an IDE works as expected -- entering <div>hello world</div> results in a <div> being created with the contents hello world . Using multiple spaces will also work