Which is the difference between srcdoc=“…” and src=“data:text/html,…” in an <iframe>?

前端 未结 8 737

For example, which is the difference between these:




I also noticed a difference in the parsing of js scripts inside the attributes value( it's probably more than just percentage-encoding ) but didn't figure the rule yet...

提交回复
热议问题