How to solve - "Open quote is expected for attribute "height" associated with an element type "iframe""?


#1

The code below, when used in blogger, throws this error - “Open quote is expected for attribute “height” associated with an element type “iframe”.”
How can I correct it?

sign.onclick = () => {
page.innerHTML = '<iframe height=\'330px\' width=\'350px\' src=\"https://stintlogin.blogspot.com/\"></iframe>';
}

#3

Unnecessary escapement. When generating an HTML string, wrap in single quotes and give the attributes the standard double quotes. We do not use CSS units in HTML attribute values.

'<iframe height="330" width="350" src="https://stintlogin.blogspot.com/"></iframe>';

#4

Blogger HTML editor converts all type of quotes to single quotes, no error is shown at the time of saving but when the website is opened, it does not work. If I inspect in chrome, all the quotes are single.


#5

You may have to take it up with them, then, since anything we suggest here is based upon our doing the work, not a site generator.


#6

I have To do candidature can you help me with
L’écart type 10 puissance -2


#7

I understand. Thanks anyway.