how do i create a border around iframe?
The out put will not work in the snippet.Attribute which are deprecated in HTML5 for <iframe>
scrolling
frameborder
align
longdesc
marginwidth
instead of using these as iframe inline attribute you can use it in css
DEMO:
iframe{border:4px solid red;}
<iframe src="https://www.google.co.in/?gfe_rd=cr&dcr=0&ei=WyV_WvDBOY_E8wfHmba4Aw"></iframe>
visit this link for more info of deprecated attributes