<!DOCTYPE html>
<html class="client-nojs" lang="en" dir="ltr">
<head>
<meta charset="utf-8"/>
<title>How to Copy HTML Source Code on Your Computer, iPhone, or Android</title>
<script>document.documentElement.className = document.documentElement.className.replace( /(^|\s)client-nojs(\s|$)/, "$1client-js$2" );</script>
<script>(window.RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"Copy-Source-Code","wgTitle":"Copy Source Code","wgCurRevisionId":29381109,"wgRevisionId":29381109,"wgArticleId":12518057,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["HTML","Markup Languages","Website and Blog Creation","Internet","Computers and Electronics"],"wgBreakFrames":false,"wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgMonthNamesShort":["","Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"wgRelevantPageName":"Copy-Source-Code","wgRelevantArticleId":12518057,"wgRequestId":"39540461ba1078055c367dfd","wgCSPNonce":false,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgUserType":"anon","wgWikihowSiteRev":"d2xZf","wgFBAppId":"157545333433","wgGoogleAppId":"475770217963-cj49phca8tqki2ggs0ttcaerhs8339eh.apps.googleusercontent.com","wgCDNbase":"https://www.wikihow.com","wgProMembership":0,"wgHasEmail":0,"wgIsUserReviewEligible":"expert","wgNumReviews":"0","wgMFMode":"stable","wgMFLazyLoadImages":false,"wgMFLazyLoadReferences":false,"wgMFIsPageContentModelEditable":true,"wgMFEnableFontChanger":true,"wgMFDisplayWikibaseDescriptions":{"search":false,"nearby":false,"watchlist":false,"tagline":false},"wgMinervaFeatures":{"amc":false,"beta":false,"mobileOptionsLink":true,"categories":false,"backToTop":false,"shareButton":false,"toggling":true,"pageIssues":false,"talkAtTop":false},"wgMinervaDownloadNamespaces":[0],"wgMinervaMenuData":[]});mw.loader.state({"user.styles":"ready","user":"ready","user.options":"ready","user.tokens":"loading","ext.cite.styles":"ready","skins.minerva.base.styles":"ready","skins.minerva.content.styles.images":"ready","mediawiki.hlist":"ready","mediawiki.ui.icon":"ready","mediawiki.ui.button":"ready","skins.minerva.icons.images":"ready","ext.wikihow.trusted_sources.styles":"ready","ext.wikihow.slider_styles":"ready","ext.wikihow.expertadvicesection.styles":"ready","ext.wikihow.green_box":"ready","ext.wikihow.social_footer_styles":"ready"});mw.loader.implement("user.tokens@0tffind",function($,jQuery,require,module){/*@nomin*/mw.user.tokens.set({"editToken":"+\\","patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"});
});RLPAGEMODULES=["mediawiki.page.startup","skins.minerva.scripts","ext.wikihow.common_top","ext.wikihow.common_bottom","mobile.wikihow.mmf","ext.wikihow.article_courses_banner","ext.wikihow.membershipmanager","ext.wikihow.trusted_sources.scripts","zzz.mobile.wikihow.styles_late_load","zzz.mobile.wikihow.scripts_late_load","mobile.wikihow.tabsonmobile","mobile.wikihow","mobile.wikihow.stable.styles","mobile.wikihow.socialproof","ext.wikihow.slider","mobile.wikihow.qa_widget","mobile.wikihow.userreview","ext.wikihow.green_box.scripts","ext.wikihow.social_footer","ext.eventLogging","mobile.site","mobile.init"];mw.loader.load(RLPAGEMODULES);});</script>
<link rel="preload" href="/load.php?debug=false&lang=en&modules=ext.cite.styles%7Cext.wikihow.expertadvicesection.styles%7Cext.wikihow.green_box%2Cslider_styles%2Csocial_footer_styles%7Cext.wikihow.trusted_sources.styles%7Cmediawiki.hlist%7Cmediawiki.ui.button%2Cicon%7Cskins.minerva.base.styles%7Cskins.minerva.content.styles.images%7Cskins.minerva.icons.images&only=styles&siterev=d2xZf&skin=wh" as="style" onload="this.onload=null;this.rel='stylesheet'"/><link rel="stylesheet" href="/load.php?debug=false&lang=en&modules=ext.cite.styles%7Cext.wikihow.expertadvicesection.styles%7Cext.wikihow.green_box%2Cslider_styles%2Csocial_footer_styles%7Cext.wikihow.trusted_sources.styles%7Cmediawiki.hlist%7Cmediawiki.ui.button%2Cicon%7Cskins.minerva.base.styles%7Cskins.minerva.content.styles.images%7Cskins.minerva.icons.images&only=styles&siterev=d2xZf&skin=wh"/>
<meta name="ResourceLoaderDynamicStyles" content=""/>
<meta name="generator" content="MediaWiki 1.33.0-alpha"/>
<meta name="robots" content="index,follow"/><!--default-->
<meta name="google-site-verification" content="Jb3uMWyKPQ3B9lzp5hZvJjITDKG8xI8mnEpWifGXUb0"/>
<meta name="description" content=" This wikiHow teaches you how to locate and copy the HTML source code of a website on your computer, phone, or tablet. The steps are pretty straight-forward when you're using a computer or an Android, but if you're using an iPhone or iPad,..."/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="initial-scale=1.0, user-scalable=yes, minimum-scale=0.25, maximum-scale=5.0, width=device-width"/>
<meta name="theme-color" content="#eaecf0"/>
<link rel="amphtml" href="https://www.wikihow.com/Copy-Source-Code?amp=1"/>
<link rel="alternate" type="application/x-wiki" title="Edit" href="/index.php?title=Copy-Source-Code&action=edit"/>
<link rel="edit" title="Edit" href="/index.php?title=Copy-Source-Code&action=edit"/>
<link rel="apple-touch-icon" href="https://www.wikihow.com/skins/WikiHow/wH-initials_152x152.png"/>
<link rel="shortcut icon" href="/favicon.ico"/>
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch_desc.php" title="wikiHow (en)"/>
<link rel="EditURI" type="application/rsd+xml" href="https://www.wikihow.com/api.php?action=rsd"/>
<link rel="canonical" href="https://www.wikihow.com/Copy-Source-Code"/>
<script>window.WH=window.WH||{timeStart:+(new Date()),lang:{}};
if(/.+@.+/.test(window.location.hash)){window.location.hash='';}</script>
<script>window.WH.proMembership=0;</script>
<script>window.WH.jsFastRender=0;</script>
<script>retinaAvailable = false;</script>
<style>html,body,div,span,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,del,ins,em,img,small,strike,strong,sub,sup,tt,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,input,textarea,button,select,audio,video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;font:inherit;font-size:100%;vertical-align:baseline}button{border:none;background-color:transparent}body{line-height:1;-webkit-tap-highlight-color:transparent}input{line-height:normal}ol,ul{list-style:none}table{border-collapse:collapse}strong,b{font-weight:bold}i,em{font-style:italic}html,body{height:100%}body{background-color:#f3f3f3;color:#545454;font-family:"Helvetica","Nimbus Sans L","Arial","Liberation Sans",sans-serif;line-height:1.4;font-size:16px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1,h2,h3,h4{color:#222}.hidden,a.hide,img[src=""],#mw-mf-page-left,.stable #ca-talk,.client-nojs #ca-watch.cta,.client-nojs #ca-edit,.client-nojs #ca-upload,#ca-talk.selected,.template_top,.section>.section_text>h3 .edit-page,#tips h3,h4.steps_text .edit-page,h5.steps_text .edit-page,h6.steps_text .edit-page,#article_rating_mobile,#uci_section,.trvote_box,.section.video,#hp_navigation,#mcta_root,#method_toc,.amazon_info,#servedtime,.tabbed_content,#sp_h2.tabbed_content,#social_proof_mobile.tabbed_content,#uci_section.tabbed_content,.tabbed_content .edit-page,.m-video-helpful-wrap,.m-video-wm,#gdpr_dismiss,#gdpr_close,#intro .green_box,.header #actions,#actionbar,.pswp,#mw-mf-last-modified,.page_stats,#end_options,#footer_newsletter{display:none}a,a:active,a:visited,a.new{color:#307530;text-decoration:none;word-wrap:break-word}a:active,a:hover{color:#439B05;text-decoration:underline}a.new{color:#B30000}a[title^='User']{color:#307530}a.external{background-image:none}.clearall{clear:both;height:0}#section_0.title_sm{font-size:1.3em}#section_0.title_md{font-size:1.5em}#section_0.title_lg{font-size:1.6em}#section_0 span.ja_how_to{color:#7b9965}#mw-mf-viewport{position:relative;height:100%}#mw-mf-page-center{padding:0;min-height:100%;width:100%;position:relative;z-index:3;background-color:#f3f3f3;transition:all 0.5s ease 0s}#mw-mf-page-center.footerad{padding:0 0 180px}.footerad #footer{bottom:110px}.header_container{background-color:#93B874;position:fixed;border:0;z-index:10;top:0;width:100%}#header_container_small{display:none}#wh-progress-bar{position:absolute;left:0;bottom:0;width:0px;height:2px;background-color:#475347;transition:width 1s linear;-webkit-transition:width 1s linear;-moz-transition:width 1s linear;-o-transition:width 1s linear}.header{height:40px;display:table;white-space:nowrap;margin:0 auto;width:100%;border-top:none}.header > *{width:3em;display:table-cell;vertical-align:middle}.header > h1,.header > form,.header > ul{width:auto}.header h1{text-align:center;font-weight:bold}.header #mw-mf-main-menu-button,.header #secondary-button{text-indent:-9999px;background-repeat:no-repeat}.header #mw-mf-main-menu-button{background-position:40% 40%}.header #secondary-button{background-position:60% 40%}.header #secondary-button.user-button{text-indent:0;text-align:center}.header #secondary-button.user-button:hover{text-decoration:none}.header #secondary-button.user-button span{display:inline-block;width:24px;height:24px;font-weight:bold;color:#fff;line-height:24px;background:#c91f2c;border-radius:2px}.header .search{border:none;padding:0;background-color:transparent}#hs,#hs_query{width:72px;position:static}#hs + a{padding-left:0 !important}.hs_active .search{padding-right:50px}#hs_query,#hs_close,#hs_submit{display:block;position:absolute;top:0;right:0;height:39px;margin:1px 0 0;padding:0;background-color:transparent;background-repeat:no-repeat;border:none}#hs_query{border:solid 5px #93B874;border-radius:10px;padding:0 5px;-webkit-appearance:none;background:#FFF url(/extensions/wikihow/mobile/images/search_gray.svg) right 4px center / 20px no-repeat;box-sizing:border-box;color:transparent;font-size:16px;transition:width 100ms ease-in-out;outline:none}.hs_notif #hs_query{margin-right:40px}.hs_active.hs_notif #hs_query{margin-right:0}.hs_active #hs_query:valid{background-image:none}#hs_close{width:0;background:url(/extensions/wikihow/mobile/images/close.svg) center / 15px no-repeat}#hs_submit{display:none;position:absolute;background-size:20px;background-position:right 9px center;width:40px}@media only screen and (max-width:599px){#hs_query,#hs_submit{background-image:url(/extensions/wikihow/mobile/images/search_gray.svg)}.hs_active #hs_query{color:#545454;width:100%;padding-left:34px;padding-right:34px;background-position:left 6px bottom 50%}.hs_active #hs_query:valid ~ #hs_submit{display:block;right:auto;left:0}.hs_active #hs_close{width:40px}#hs_query::-webkit-input-placeholder{opacity:0}.hs_active #hs_query::-webkit-input-placeholder{opacity:1}}@media only screen and (min-width:600px){#hs_query{background-color:#B3CE9C;color:#fff;width:30%;padding-left:10px;padding-right:34px}#hs_query,#hs_submit{background-image:url(/extensions/wikihow/mobile/images/mag_white.png)}#hs_query:valid ~ #hs_submit{display:block}#hs_query::-webkit-input-placeholder{color:#E3F8D1}}.content{margin:0 5px;word-wrap:break-word}.full_width .content{margin:0}.content img{max-width:100%;width:100%;height:auto}.content video{max-width:100%;width:100%;height:auto}.content h1,.content h2,.content h3,.content h4,.content h5,.content h6{line-height:1.3;padding:0.5em 0}.content p{margin-bottom:.7em}.content .thumb{margin:15px 0;border:1px solid #ccc;border-radius:5px;background:#f9f9f9;text-align:center}.content ol ol,.content ul ol,.content ol ul,.content ul ul,dl{margin-left:1em}.pre-content h1,.content h1{font-size:1.8em}h2{font-size:1.5em}h3{font-size:1.2em;font-weight:bold}h4,dl dt{font-weight:bold}sup{vertical-align:super;line-height:normal}sub{vertical-align:sub}sub,sup{font-size:0.83em}pre{white-space:pre-wrap;overflow-wrap:break-word}#content_wrapper{padding-top:40px;background-color:#f3f3f3}.pre-content{background-color:#FFF;border-bottom:none;margin:0}.section-heading .indicator{display:none}#section_0{border-bottom:none;color:#222;font-size:26px;font-weight:bold;line-height:1.2em;padding:12px 15px 0}#section_0.special_title{font-size:18px;margin-bottom:.5em;padding:15px 20px}#section_0 a{color:#222;text-decoration:none}.ns-0.action-view #section_0{padding:0 15px}#intro{background-color:#FFF;margin:0 -5px; padding:7px 15px 3px}body.action-view #content>#intro{padding-top:7px}#intro p{line-height:20px}#intro .mwimg{margin:-7px -15px 5px -15px}#intro .mwimg img{border-radius:0}.section{margin-top:1em;position:relative}.section h2,.steps h3{background-color:#FFF;width:100%;border-radius:4px 4px 0 0;font-weight:bold;font-size:1em;box-sizing:border-box;padding:0;border-bottom:1px solid #f3f3f3}.section h2 span.mw-headline{display:inline-block;padding:.8em;color:#222}.steps.sample h3 span.mw-headline{color:#222;padding-top:1em}.steps h3 span.mw-headline{display:inline-block;padding:0 1em 1em}h4.steps_text{position:relative;padding-left:25px;border:1px solid #f3f3f3;border-width:1px 0}.section>.section_text>h3{background-position:3px center}.step_num{font-size:30px;color:#545454;padding:0 15px 0 0;float:left;font-weight:bold;line-height:39px}.stepanchor{display:block;position:relative;top:-110px;visibility:hidden}.steps_list_2 li{margin-bottom:1em;font-size:16px;line-height:normal;list-style:none;background-color:#FFF;border-radius:4px;padding:20px;clear:both}#content_wrapper{margin:0}.steps_list_2 li li{border:none;margin:0;list-style:disc;padding:0 }.steps_list_2 .mwimg.largeimage{margin:-20px -20px 10px}.mwimg{border-bottom:1px solid rgba(0,0,0,0.1);line-height:0;margin-bottom:1em;position:relative;text-align:center}#quick_summary_section .mwimg{margin-bottom:0}.mwimg a img{border-top-left-radius:3px;border-top-right-radius:3px}.steps_list_2 li:first-child .mwimg a img{border-radius:0}.steps_list_2 .mwimg.underwidth{margin-left:auto;margin-right:auto}.mwimg.techicon{display:inline;border:none}.mwimg.techicon img{width:auto;height:30px !important;position:relative;min-height:0;min-width:0}.mwimg.techicon .content-spacer{width:auto;height:30px !important;padding-top:0 !important;display:inline}.content img.whvgif{width:100%;max-width:760px !important}.caption{position:absolute;width:96%;bottom:0;left:0;background-color:#444;opacity:0.7;text-align:left;font-size:12px;line-height:normal;padding:5px 2%;color:#fff}.mwimg.tright{float:right}.steps_list_2 li li .mwimg.largeimage{margin:5px 0}.section_text,.steps_text{padding:15px;background-color:#FFF;border-radius:0 0 4px 4px;font-size:16px}.steps.sample .section_text{background-color:#FFF}.sample p{padding:.9em;margin:0}#quicksummary{padding-bottom:0;margin-bottom:-15px}#video.section_text{padding:0}#quick_summary_section.section_text{padding-bottom:0}#video .embedvideocontainer{width:100%}.content .steps_list_2 ul,.content .steps_list_2 ol{margin:8px 0 0 30px}.steps .section_text{background-color:inherit;padding:0;border:none}h3 .altblock{padding:1rem 1rem 0;font-weight:normal}#ingredients li,#thingsyoullneed li{clear:both;list-style:none;margin-bottom:1.1em;line-height:20px}#thingsyoullneed li > ul{margin-top:10px;margin-left:27px}.checkmark{border:1px solid #a3a3a3;width:.9em;height:.9em;border-radius:4px;float:left;margin-right:.5em}.section:not(.steps) h3{position:relative;color:#222;font-weight:normal;font-size:1rem}.section:not(.steps) h3 .altblock{position:absolute;margin-top:.1em;height:1em;width:1em;background-color:#93b874;padding:0}.section:not(.steps) h3 .mw-headline{display:inline-block;width:auto;padding-left:1.6em}.content ul{list-style:disc inside}.section h2.android,.section h3.android,.tool div.android{top:0}#ca-edit.enabled{background-size:10px 10px;width:20px;height:20px;margin-right:4px}#page-actions:not(.page-actions-menu__list){font-size:inherit;float:right;border:none;padding:10px 0 0 0;margin:0;width:auto}#page-actions li{cursor:pointer;vertical-align:top;height:30px;width:40px;text-indent:-9999px;background-position:50% 0;background-repeat:no-repeat}#page-actions li input{opacity:0}#page-actions li input,#page-actions li a{display:block;width:100%;height:100%;margin:0 0 8px}#page-actions li#ca-edit{width:27px;height:15px;margin-right:0;background-size:14px;background-position:top left}.content .edit-page{display:none}.stable .content p,.stable .content li,.stable .content dl{line-height:25px}.stable .content .stu_test_font p,.stable .content .stu_test_font li,.stable .content .stu_test_font dl{line-height:35px;font-size:18px}#header_logo{display:table-cell;vertical-align:middle;background:center / 115px no-repeat url(/extensions/wikihow/mobile/images/wikihow_logo_230.png);width:auto;height:38px;padding:0 14px}.header #mw-mf-main-menu-button{width:72px;border-right:none;background:url(/extensions/wikihow/mobile/images/main_menu_button.svg) left 15px bottom 50% / 18px no-repeat}.header #mw-mf-main-menu-button,.header #secondary-button{height:auto}.header #secondary-button.user-button{padding-top:.35em}.header > *:nth-child(3){border-left:none}.wh_search .cse_q{border:none}.breadcrumbs li{display:inline-block;padding-right:.3em}.breadcrumbs li:after{content:' \20\00BB'}.breadcrumbs li:last-child:after{content:''}#breadcrumb{font-size:.7em;padding:1em 0 .7em 15px;text-transform:uppercase}#breadcrumb li{display:none;line-height:1em;padding-right:.5em}#breadcrumb li:after{color:#307530;font-size:1.25em;white-space:pre}#breadcrumb li:nth-last-child(2),#breadcrumb li:last-child{display:inline-block;font-weight:bold} .button,button,.panel .button,.panel button,.buttonBar .button,.buttonBar button,.buttonBar input[type="submit"],.mw-ui-button,input[type="submit"]{border-radius:4px;text-align:center;color:#FFF;padding:8px 11px;font-size:1.1em;margin-right:10px;cursor:pointer;background-image:none;background-color:#97ba78;border:1px solid #97ba78;-webkit-appearance:none;-moz-appearance:none} #wh_ad_middle_related{float:left}#wh_ad_tips,#pagebottom{margin-top:12px}.al_method{text-align:center;font-size:12px;color:#999}#references_first ins{margin-top:10px}.method_ad{margin:17px 0 0 -16px;display:block}.wh_ad1_full{margin-left:-16px}.embedvideocontainer{position:relative;width:99%;height:0;padding-bottom:56.25%}.embedvideo{position:absolute;top:0;left:0;width:100%;height:100%}body.action-view #fa_container p{width:100%;font-size:16px !important;line-height:16px !important}#ab_notice{margin-top:10px;display:none;background-color:#f1c4c8;color:black;padding:10px}#ab_notice_img{background:url(/skins/owl/images/face_sad_black.svg) center no-repeat;width:50px;height:50px;background-size:contain;display:table-cell;vertical-align:middle}#ab_notice_msg{padding-left:15px;display:table-cell;vertical-align:middle}.related_box p{width:100%;font-size:16px;line-height:16px}.content #intro ul,.content .section_text ul{list-style:disc outside;padding-left:24px}.content .section_text .steps_list_2 ul,.content .ingredients ul,.content .thingsyoullneed ul{padding-left:0}.content #intro li,.content .section_text ul li{margin-bottom:5px}.content .section_text.expert_advice_section ul li{margin-bottom:12px;font-size:14px;line-height:22px;list-style:none}.content .section_text.expert_advice_section ul{padding-left:16px}.content .expert_advice_section p{margin-bottom:10px;color:#5f5f5f;font-size:14px;line-height:23px}.content .section_text .steps_list_2 ul li,.content .ingredients ul li,.content .thingsyoullneed ul li{margin-bottom:0}.content .ingredients ul ul{margin:20px 0 0 26px}#social_proof_anchor{margin-top:-115px;display:block;position:absolute}.related-article{float:left;position:relative;width:100%;margin-bottom:2%}.related-image-link{display:block;vertical-align:top}.related-image-link img{border:none;width:100%}.related-image-link video{display:block;border:none;width:100%;height:auto}.related-title{background-color:rgba(50,50,50,.5);padding:2% 4%;width:92%;min-height:32px;position:absolute;bottom:0;cursor:pointer;color:#fff;font-weight:bold}#relatedwikihows .related-title-text p,#qa_related_box .related-title-text p{font-size:12px;line-height:15px;margin:0}.related-image-link{text-decoration:none}#relatedwikihows{padding:2%}.content-spacer{position:relative}.content-fill{position:absolute;top:0;left:0;bottom:0;right:0;width:1px;min-width:100%;height:1px;min-height:100%;color:#fff }.loader{position:absolute;display:block;height:10px;top:50%;left:50%;transform:translateX(-50%) translateY(-50%);transform-origin:50% 50%;white-space:nowrap}.loader-dot{animation:loader-dots 1s infinite}.loader-dot{position:relative;display:inline-block;height:10px;width:10px;margin:2px;border-radius:100%;background-color:rgba(137,172,108,1);will-change:transform}.loader-dot:nth-child(1){animation-delay:0s}.loader-dot:nth-child(2){animation-delay:.3s}.loader-dot:nth-child(3){animation-delay:.5s}@keyframes loader-dots{0%,100%{transform:scale(1);background-color:rgba(137,172,108,1)}50%{transform:scale(.7);background-color:rgba(137,172,108,0.9)}}#mobile_tab_container{position:relative;border:1px solid #E6EEE0;border-width:1px 0;clear:both;background:#f7faf6;margin:5px -15px 15px;box-shadow:0 6px 6px -6px rgba(84,84,84,.3)}#mobile_tab_container a,#mobile_tab_container a:visited{color:#707070}.mobile_tab{position:relative;margin:0 1em 0 1.3em;padding:.7em 0 .8em;font-weight:bold;font-size:.8em;display:inline-block}.mobile_tab.video{margin-left:0}.mobile_tab a{padding:.2em 0}.mobile_tab.video a{padding-right:1.9em;background:right 0 bottom 57% / 18px no-repeat; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 15'%3E%3Cpath fill='%23fff' stroke='%23a3a3a3' d='M14.13 3a2.66 2.66 0 00-1.06-1.1 3.84 3.84 0 00-2.16-.4H4.1a3.88 3.88 0 00-2.17.4A2.69 2.69 0 00.88 3 4.47 4.47 0 00.5 5.34v4.32A4.5 4.5 0 00.88 12a2.69 2.69 0 001 1.14 3.88 3.88 0 002.17.4h6.81a3.84 3.84 0 002.16-.4A2.66 2.66 0 0014.13 12a4.53 4.53 0 00.37-2.3V5.34A4.51 4.51 0 0014.13 3z'/%3E%3Cpath fill='%23a3a3a3' d='M10.76 7.84a.78.78 0 01-.31.34l-4.74 2.53a.68.68 0 01-.93-.34.76.76 0 01-.08-.37V5a.73.73 0 01.7-.75.65.65 0 01.31.08l4.74 2.53a.78.78 0 01.31.98z'/%3E%3C/svg%3E")}#mobile_tab_line{position:absolute;bottom:0;background-color:#6d9d6c;height:4px;width:90%;margin-left:5%;border-radius:4px 4px 0 0}.summarysection.mwimg,.summarysection .mwimg{margin:-16px -15px 0}.content .m-video{max-width:100%;width:100%;height:auto}.summary-video{position:relative;overflow:hidden}.video-poster-image{position:absolute;z-index:1}.video-poster-image img{object-fit:cover}.green_tips_box_inline{background-color:#fff5d9;color:#000;margin:0;width:75%;display:inline}.img-loading-hide{visibility:hidden}.img-loading-alt{color:#000}#gdpr{width:100%;margin:0 auto;position:fixed;bottom:0;max-height:70px;z-index:10000;text-align:center;background-color:#475347;color:#FFF;padding:9px 5px;display:none}.gdpr_button,button.gdpr_button{background-color:#b6e684;border:1px solid #b6e684;color:#000;display:inline-block;font-size:0.8em;font-weight:bold;padding:5px 10px 6px 10px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;text-decoration:none;vertical-align:super;margin-left:5px;margin-right:0}#gdpr_text{font-size:0.9em;display:inline-block;max-width:73%;text-align:left;vertical-align:middle}#gdpr_text a{color:#EEE;text-decoration:underline}#gdpr_text_inner{padding-right:3px}#gdpr_accept_wrap{display:inline-block}#gdpr_cp_link{font-size:13px;color:#FFF;text-decoration:underline;display:inline-block}.mw-mf-display-toggle > a{color:#AFAFAF;font-size:1em}.mw-mf-display-toggle{bottom:0;margin:3em 0 10px 13px;color:#AFAFAF;font-size:.75em}.geo-group-eu .mw-mf-display-toggle{padding-left:0;background:none}.gdpr_only{visibility:hidden}.no_gdpr{visibility:visible}.geo-group-eu .gdpr_only{visibility:visible}.geo-group-eu .no_gdpr{visibility:hidden}#mw-mf-page-left{position:fixed !important;overflow-y:scroll;height:100%}body.navigation-enabled #mw-mf-page-left{display:block}a.related-title,a.related-title:active,a.related-title:visited{color:#FFF}.noarticletext div{border:none !important;padding:0;margin-bottom:0.75em}.references li{position:relative;list-style-position:outside}.references li span{margin-left:3px;word-break:break-word}.references li > a{float:left;margin-top:-2px}.sourcesandcitations{word-break:break-all}.sourcesandcitations .section_text{padding-left:30px} #aiinfo:target ~ .aidata,#social_proof_mobile:target ~ .aidata{display:block}.aidata,#aiinfo:target,#social_proof_mobile:target ~ #aiinfo{display:none}.section.articleinfo{margin-top:0;padding-top:0}.articleinfo #articleinfo{margin-top:-5px;border-radius:0 0 4px 4px;border-top:none;position:relative}#articleinfo #info_link{width:100%;display:block}#articleinfo #info_link,.collapse_link{ background:url(/extensions/wikihow/mobile/images/show_sources.svg) right .5em center / 20px no-repeat} #social_proof_mobile + .articleinfo #articleinfo,#summary_wrapper + .articleinfo #articleinfo{ padding:15px;border-top:1px solid #f3f3f3;border-radius:0 0 4px 4px;margin-top:-5px;position:relative;z-index:1}#summary_close{display:none}#references_second{padding-top:0;border-top:0;margin-top:-10px;border-top-left-radius:0;border-top-right-radius:0} .article_byline{color:#222;font-size:12px;overflow:auto}#intro .article_byline p{line-height:1rem;margin:0}#recipe_byline{line-height:24px; }#coauthor_byline{margin-bottom:.75rem}#byline_info{line-height:1rem}#coauthor_byline p,#coauthor_byline p a{color:#595959}#coauthor_byline p:last-child{padding-top:.1em}.coauthor_link{font-weight:bold;padding-right:.5em}.coauthor_checkstar{padding-right:1.2em;background:right center / .9em no-repeat; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 41.1 40.6'%3E%3Cpath fill='%23307530' d='M41.1 21.4c.1-1.6-1.5-3.1-3.9-4 2-1.7 2.9-3.7 2.3-5.2-.6-1.4-2.6-2.1-5-1.9.9-2.3.9-4.3-.2-5.4-1.2-1.1-3.3-.8-5.4.4-.1-2.5-1-4.4-2.5-4.8-1.6-.5-3.4.8-4.9 3C20.3 1.2 18.6-.2 17 .1c-1.6.3-2.7 2.1-3 4.6-2-1.5-4.1-1.9-5.4-1-1.4.9-1.6 2.9-.9 5.2-2.4-.4-4.4 0-5.2 1.4-.8 1.4 0 3.4 1.7 5.3-2.5.7-4.2 2-4.2 3.6-.1 1.6 1.5 3.2 3.9 4C2 25 1 27 1.7 28.5c.6 1.5 2.6 2.1 5 1.9-.9 2.3-.9 4.3.2 5.4 1.2 1 3.3.8 5.4-.4.1 2.5 1 4.3 2.5 4.8 1.6.5 3.4-.8 4.9-3 1.2 2.3 2.9 3.7 4.5 3.4 1.6-.3 2.7-2.1 3-4.6 2 1.5 4.1 1.9 5.4 1 1.3-.9 1.5-3 .8-5.3 2.4.4 4.4 0 5.2-1.4.8-1.4 0-3.4-1.7-5.3 2.5-.7 4.2-2 4.2-3.6z'/%3E%3Cpath fill='%23FFF' d='M30.2 16.5L19.1 27.6c-.2.2-.6.3-.9 0l-7.3-5.9c-.6-.6-.6-.9 0-1.5l2-2c.8-.8 1-.6 1.6 0l3.6 2.8c.2.2.6.2.8-.1l7.9-8.1c.6-.6.9-.7 1.5 0l2 2c.6.8.7.9-.1 1.7z'/%3E%3C/svg%3E")}.coauthor_avatar_badge{height:19px;width:19px;position:absolute;margin:37px 0 0 37px;z-index:1; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 41.1 40.6'%3E%3Cpath fill='%235b734c' d='M41.1 21.4c.1-1.6-1.5-3.1-3.9-4 2-1.7 2.9-3.7 2.3-5.2-.6-1.4-2.6-2.1-5-1.9.9-2.3.9-4.3-.2-5.4-1.2-1.1-3.3-.8-5.4.4-.1-2.5-1-4.4-2.5-4.8-1.6-.5-3.4.8-4.9 3C20.3 1.2 18.6-.2 17 .1c-1.6.3-2.7 2.1-3 4.6-2-1.5-4.1-1.9-5.4-1-1.4.9-1.6 2.9-.9 5.2-2.4-.4-4.4 0-5.2 1.4-.8 1.4 0 3.4 1.7 5.3-2.5.7-4.2 2-4.2 3.6-.1 1.6 1.5 3.2 3.9 4C2 25 1 27 1.7 28.5c.6 1.5 2.6 2.1 5 1.9-.9 2.3-.9 4.3.2 5.4 1.2 1 3.3.8 5.4-.4.1 2.5 1 4.3 2.5 4.8 1.6.5 3.4-.8 4.9-3 1.2 2.3 2.9 3.7 4.5 3.4 1.6-.3 2.7-2.1 3-4.6 2 1.5 4.1 1.9 5.4 1 1.3-.9 1.5-3 .8-5.3 2.4.4 4.4 0 5.2-1.4.8-1.4 0-3.4-1.7-5.3 2.5-.7 4.2-2 4.2-3.6z'/%3E%3Cpath fill='%23FFF' d='M30.2 16.5L19.1 27.6c-.2.2-.6.3-.9 0l-7.3-5.9c-.6-.6-.6-.9 0-1.5l2-2c.8-.8 1-.6 1.6 0l3.6 2.8c.2.2.6.2.8-.1l7.9-8.1c.6-.6.9-.7 1.5 0l2 2c.6.8.7.9-.1 1.7z'/%3E%3C/svg%3E")}.coauthor_circle_i{padding-left:1.2em;background:left 1px / .9em no-repeat; background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Ccircle fill='%23307530' cx='50' cy='50' r='50'/%3E%3Crect fill='%23FFF' x='42' y='39' width='16' height='42' rx='4'/%3E%3Ccircle fill='%23FFF' cx='50' cy='26' r='9'/%3E%3C/g%3E%3C/svg%3E")}#coauthor_image{float:left;margin:3px 10px 0 0;border-radius:16%;width:50px;height:50px;max-width:50px;overflow:hidden}.article_byline .sp_star_section_upper{margin-bottom:-4px;min-width:115px}.byline_extra{white-space:nowrap}.byline_references{background:left center no-repeat; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9.12 11.86'%3E%3Cg opacity='.8'%3E%3Cpath fill='%23595959' d='M8.66,2.74H1.82a.92.92,0,0,1,0-1.83H8.66A.46.46,0,0,0,9.12.46.46.46,0,0,0,8.66,0H1.82A1.83,1.83,0,0,0,0,1.82V10a1.84,1.84,0,0,0,1.82,1.83H8.66a.47.47,0,0,0,.46-.46h0V3.19a.46.46,0,0,0-.46-.45Zm-6.84,8.2A.91.91,0,0,1,.91,10V3.39a1.74,1.74,0,0,0,.91.26H8.21V11Zm7.3-9.12a.45.45,0,0,1-.45.46H1.82a.46.46,0,0,1,0-.91H8.66a.46.46,0,0,1,.46.45Z'/%3E%3C/g%3E%3C/svg%3E");padding-left:1.2em}#coauthor_byline p > *{margin-right:.5em}.success_stories{padding-right:.3em}.ss_pipe{color:#e9e7e3}.byline_success{white-space:nowrap;background:left center / 1em no-repeat; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16.276 15.081'%3E%3Cg transform='translate(-44.1 -201.134)'%3E%3Cpath d='M57.213 209.537v6.107a.572.572 0 01-.571.571h-8.858a.572.572 0 01-.571-.571v-6.107a.572.572 0 01.571-.571.585.585 0 01.14.023.508.508 0 01.315.2.6.6 0 01.117.35v3.508h6.119a.571.571 0 110 1.142h-6.12v.886h7.716v-5.536a.571.571 0 011.142 0z' fill='%2397ba78'/%3E%3Cpath d='M52.213 201.134l-.606 1.224a2.5 2.5 0 00-1.876 2.471.541.541 0 01-.07.268.563.563 0 01-.769.233 2.322 2.322 0 00-1.177-.291H47.7a2.5 2.5 0 00-2.459 2.552 2.538 2.538 0 001.97 2.517l.711-1.119a.508.508 0 01.315.2l-1.026 2.075a3.708 3.708 0 01.5-7.366 4.032 4.032 0 01.979.128 3.617 3.617 0 013.523-2.892z' fill='%2397ba78'/%3E%3Cpath d='M52.259 201.134l.606 1.224a2.5 2.5 0 011.876 2.471.541.541 0 00.07.268.563.563 0 00.769.233 2.322 2.322 0 011.177-.291h.012a2.5 2.5 0 012.459 2.552 2.538 2.538 0 01-1.97 2.517l-.711-1.119a.509.509 0 00-.315.2l1.026 2.075a3.708 3.708 0 00-.5-7.366 4.032 4.032 0 00-.979.128 3.617 3.617 0 00-3.52-2.892z' fill='%2397ba78'/%3E%3Cpath d='M48.146 205.709a2.253 2.253 0 00-2.209 2.274.564.564 0 001.126 0 1.091 1.091 0 011.069-1.113h.014a.581.581 0 000-1.161z' fill='%2397ba78'/%3E%3Cpath d='M51.064 202.568a2.763 2.763 0 012.347 0l-1.042-1.434H52.1z' fill='%2397ba78'/%3E%3C/g%3E%3C/svg%3E");padding-left:1.2em}#coauthor_byline p a.eat_tag{font-weight:600;padding-left:1.3em;background:left center / 1em no-repeat; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7.154 7.154'%3E%3Cg transform='translate(-58.981 -26.634)' opacity='.8'%3E%3Cpath d='M64.456 29.509l-2.2 2.2a.125.125 0 01-.177 0l-1.446-1.169c-.119-.119-.119-.179 0-.3l.4-.4c.158-.159.2-.119.317 0l.713.554a.105.105 0 00.148-.006l.01-.013 1.565-1.6c.119-.119.178-.137.3 0l.4.4c.108.156.128.175-.03.334z' fill='%23595959'/%3E%3Crect width='6.554' height='6.554' rx='1.689' transform='translate(59.281 26.934)' fill='none' stroke='%23595959' stroke-miterlimit='10' stroke-width='.6'/%3E%3C/g%3E%3C/svg%3E")}.eat_tag:hover{text-decoration:none}.sp_expert_text{line-height:52px;text-align:left;margin-left:65px}.sp_expert_text > div{line-height:normal;display:inline-block;vertical-align:middle;margin:0 auto;color:#222}.sp_expert_name,.sp_expert_team{font-size:16px;font-weight:bold}.sp_expert_blurb{font-weight:normal}.sp_coauthor_label{font-size:.85em;font-weight:bold;color:#545454}.ar_avatar{width:50px;height:50px;overflow:hidden;position:absolute;border-radius:16%;margin-top:2px;box-sizing:border-box}.expert_initials{background:#97ba78;color:#475346;text-align:center;font-size:22px;font-weight:bold;line-height:50px}.sp_top_icon_bg{margin:0;position:absolute;width:50px;height:50px;background-color:#ADC996;border-radius:16%}.sp_top_icon_bg > div{background-repeat:no-repeat}#trust_banner{width:100%;position:relative;z-index:1;box-sizing:border-box;background-color:#e4ecdc;padding:.5em 15px;font-size:12px;line-height:1em;top:40px}#trust_banner > div{max-width:728px;margin:0 auto}#trust_banner a{color:#417505;padding-left:1.5em;font-weight:normal; background:url(/skins/owl/images/sp_expert_icon_white.svg) left center / 1.1em no-repeat}#trust_banner span{display:none}.sp_star_section_upper{display:inline-block}.sp_star_container{position:relative;width:21px;height:20px;float:left;border-right:2px solid transparent;background:url(/skins/owl/images/sp_helpful_icon_star_empty.optimized.svg) 0 0 / cover no-repeat}.sp_helpful_icon_star{width:100%;height:100%;position:absolute;background:url(/skins/owl/images/sp_helpful_icon_star.optimized.svg) 0 0 / cover no-repeat}.pretty_star,.sp_helpful_box .recipe_star{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26.028 24.652'%3E%3Cpath fill='%2393B874' d='M13.014 0l4.022 8.115 8.992 1.301-6.507 6.316 1.536 8.919-8.043-4.211-8.043 4.211 1.536-8.919L0 9.416l8.992-1.301L13.014 0z'/%3E%3C/svg%3E")}.recipe_star{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26.028 24.652'%3E%3Cpath fill='%23fecf4f' d='M13.014 0l4.022 8.115 8.992 1.301-6.507 6.316 1.536 8.919-8.043-4.211-8.043 4.211 1.536-8.919L0 9.416l8.992-1.301L13.014 0z'/%3E%3C/svg%3E")} @media only screen and (min-width:500px) and (min-aspect-ratio:13/9){.content .sticking .edit-page{margin-right:50px}}@media only screen and (min-width:768px){.mwimg{border-bottom:none}.related-article{width:48%;margin-right:2%}}@media only screen and (max-width:320px){#gdpr_text{max-width:72%}#gdpr{padding:5px 0 6px;max-height:70px}.gdpr_button,button.gdpr_button{font-size:0.7em;max-width:45px}}@media only screen and (max-width:300px){#gdpr_text{font-size:0.8em;max-width:78%}.gdpr_button,button.gdpr_button{margin-left:3px;padding:4px 8px 5px}}@media only screen and (min-width:450px){#gdpr_text{max-width:80%}.gdpr_button,button.gdpr_button{margin-left:10px}}@media only screen and (min-width:600px){#gdpr{padding:13px 5px 14px}#gdpr_text{max-width:88%}.gdpr_button{margin-left:10px;padding:1px 6px}}@media only screen and (device-width:375px) and (device-height:812px) and (-webkit-device-pixel-ratio:3){#gdpr{padding-bottom:15px}}.skin-minervawh .content .section-heading{margin-bottom:0}.content ol{list-style:decimal inside}.content .in-block.steps_text{display:block}.mw-mf-cleanup{display:block;padding:10px 15px 10px 44px;background:url(/extensions/wikihow/MobileFrontendWikihow/images/wikihow/icon-notification.svg) 10px center / 24px no-repeat;margin-bottom:4px}.overlay-issues .cleanup > li .issue-notice{padding-top:50px} #sidebar #jpt_sidebox{padding:0;background-color:#f6f5f4}#jpt_header{padding:16px;font-weight:bold}.jpt_container{border-bottom:1px solid #ecebe8;padding:5px 16px;background-color:#fff;display:block;width:268px;height:61px}.jpt_container:last-child{border-bottom:none}.jpt_container:hover{text-decoration:none}.jpt_container img{vertical-align:middle;margin:5px 10px 5px 13px;width:50px;height:50px}.jpt_count{font-size:22px;color:#ecebe8;font-weight:bold;vertical-align:middle}.jpt_container:hover .jpt_count{color:#93b874}.jpt_title{font-size:14px;display:inline-block;width:182px;color:#686868;vertical-align:middle}#footer_ccpa,#footer_ccpa_optout{display:none}.reference.trusted{background:url(/skins/owl/images/sp_expert_icon_white.svg) no-repeat right 2px/12px;padding-right:14px;display:inline-block}.reference{position:relative} .bolded{font-weight:bold;font-size:14px}.steps_text.healthintro{margin-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.healtharticle{margin-bottom:25px}#contribute_footer_inner{margin:0 auto;color:#545454;max-width:728px;padding:15px 20px;position:relative;font-size:14px;text-align:left}#contribute_close{position:absolute;right:10px;top:5px;z-index:1}#contribute_footer_inner a{color:#545454;font-weight:bold}#contribute_footer_inner a.button{color:#668051;border:1px solid #668051;background-color:#fff;border-radius:7px;text-align:center;display:inline-block;padding:5px 20px;font-weight:bold}a.pdf_link{color:#545454;border-radius:4px}.small_pdf_link{display:inline-flex;font-size:12px;margin:-5px 0 10px;padding:.35em;border:1px solid #e7e7e7;background-color:#f6f6f6}.pdf_link > img{width:15px;margin-right:5px}.large_pdf_link{display:none}.pdf_link.pdf_link_hidden{display:none !important}a.pdf_link.disabled{pointer-events:none;opacity:.2}a.pdf_link:hover,a.pdf_link:active{text-decoration:none}.pdf_link > div{display:inline-block;font-size:10px;color:#FFF;background:#FFCF5A;border-radius:2px;margin-left:.75em;padding:0 .5em;height:16px;line-height:17px}.test_list_article .steps .section_text{background-color:#FFF;border-radius:4px;padding-bottom:20px}.test_list_article .steps .section_text ul{margin:0 20px 0 20px}.test_list_article li b{font-weight:normal }.test_list_method .steps .altblock{background:#93b874;color:#FFF;text-align:center;padding:0;border-radius:4px 0 0 0;font-size:0;width:3.5rem;height:3.5rem;display:table;position:absolute}.test_list_method .steps .altblock > div{display:table-cell;vertical-align:middle}.test_list_method .steps .altblock > div > span{font-size:21px;font-weight:bold}.test_list_method .steps h3 span.mw-headline{display:table-cell;vertical-align:middle;padding:0 0 0 4.5rem;width:100%;height:3.45rem}.test_list_method .method_of_count,.test_list_method .step_num{display:none}.test_list_method .step,.test_list_method li{font-size:18px;line-height:26px}.test_list_method #mf-section-0 p{font-size:18px;line-height:26px} #sd_container{border:none}#sd_container{padding:15px;background-color:#FFF;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch}.sd_content{width:125px;margin:auto}.sd_thumb{position:relative;text-align:center;width:100%;max-width:200px;margin:6px}.sd_thumb img{border:1px solid #BBB;width:100%;height:auto} .qa_user_hover{display:none} .qa_answers{position:relative}.qa_obscured_prompt{display:block;position:absolute;left:0;top:3.75em;right:0;bottom:0;background-color:rgba(255,255,255,0.5);z-index:2}.qa_unlocked .qa_obscured_prompt{display:none}.sd_obscured_link{position:absolute;left:0;top:0;bottom:0;right:0;cursor:pointer}.qa_obscured_answer_overlay,.sd_obscured_thumb_overlay{position:absolute;background-color:#F7FAF5;box-shadow:1px 1px 6px rgba(0,0,0,0.41);border-radius:5px;padding:10px 15px;z-index:1;box-sizing:border-box;display:table}.qa_obscured_answer_overlay{left:1em;top:0.5em;text-shadow:none;color:initial;min-height:72px;max-width:85%}.sd_obscured_thumb_overlay{font-size:smaller}.qa_obscured_answer_overlay:hover,.sd_obscured_link:hover .sd_obscured_thumb_overlay{background-color:#F2F6EB}.qa_obscured_answer_overlay a,.sd_obscured_thumb_overlay a{font-weight:bold}.qa_obscured_answer_overlay a:hover,.sd_obscured_link:hover .sd_obscured_thumb_overlay a{text-decoration:none}.qa_obscured_answer_overlay_img,.sd_obscured_thumb_overlay_img{position:absolute;border:none !important}.qa_obscured_answer_overlay_img{width:37px !important}.sd_obscured_thumb_overlay_img{width:24px !important}.qa_obscured_answer_overlay p,.sd_obscured_thumb_overlay p{display:table-cell;vertical-align:middle;text-align:left;padding:0 0 0 52px;margin:0}#sd_container .sd_thumb .sd_obscured_thumb_overlay p{line-height:18px}.sd_obscured_thumb_overlay p{padding:0 0 0 32px}.qa_obscured_answer_overlay p strong,.sd_obscured_thumb_overlay p strong{color:#307530}.qa_answer.qa_obscured_answer{margin:1em 0 0 0;color:transparent;text-shadow:0 0 5px rgba(0,0,0,0.5)}.sd_obscured_prompt{padding-top:25%}.qa_obscured_cta{position:absolute;right:0;top:0;bottom:0;font-size:0.7em;font-weight:normal;text-align:right;background-color:#FDF5D1;padding:13px;border-top-right-radius:4px;max-width:62%}.qa_obscured_cta_pitch{display:block;font-weight:bold}.qa_obscured_cta_link{display:inline-block;font-weight:bold}@media only screen and (max-width:727px){.qa_obscured_cta{display:none}}#eu_cp_save{display:none}.menuitem.top_cat{padding-left:25px;font-size:14px;line-height:22px}#promopair_container{display:none}#housebottom_ad{display:none}.house-promo{display:none}#left_sidebox{display:none}@media only screen and (max-width:727px){.sample_initial_location{display:none}}#footer_links li{word-break:break-word}.m-video-intro-over{position:absolute;top:0;z-index:3;width:100%;visibility:hidden;background:rgba(0,0,0,.3);height:100%}.section.summary_with_video h2{background-color:#93b874;color:#fff;border-radius:4px 4px 0 0;border-bottom:0}.summary_with_video h2 span.mw-headline{color:#FFF}.m-video-play-count-triangle{width:0;height:0;border-top:11px solid rgba(145,182,115,1);border-bottom:11px solid rgba(145,182,115,1);border-left:20px solid #fff;display:inline-block;position:absolute;top:19px;left:20px;background-image:none}.m-video-intro-over .m-video-play{border:none;width:74px;height:60px;padding-left:47px;line-height:60px;color:#fff;font-size:18px;top:0;bottom:0;font-weight:bold;margin:auto;position:absolute;left:0;right:0;text-align:left;cursor:default;user-select:none}.m-video-intro-over .m-video-play-text{background-color:#91b673;border-radius:10px;padding-right:21px;padding-left:47px;margin-left:-47px;display:inline-block;white-space:nowrap}.m-video::-webkit-media-controls-overlay-play-button{display:none}.m-video-controls{position:absolute;left:0;right:0;top:0;bottom:0}.m-video-intro-text:nth-child(1){font-size:2em}.m-video-intro-text.m-video-intro-text-long{font-size:1.5em}.m-video-intro-text.m-video-intro-text-very-long{font-size:1em}#m-video-intro-time-v2{bottom:-11px;font-size:1.2em;height:48px;width:43px;line-height:2.65em}.embedvideo_gdpr_message{font-size:12px;font-weight:normal;line-height:14px;padding-left:5px;display:none}.embedvideo_gdpr_label{background:url(/skins/owl/images/sp_icon_info.png); background:url(/skins/owl/images/sp_icon_info.svg);background-size:14px;background-repeat:no-repeat;height:14px;padding-left:8px;margin-bottom:2px;vertical-align:bottom;cursor:pointer;overflow:hidden;display:inline-block}#show_embedvideo_gdpr_block{display:none}#show_embedvideo_gdpr_block:checked ~ .embedvideo_gdpr_message{display:block}#show_embedvideo_gdpr_block:checked ~ .edit-page{background-position-y:calc(75% - 9px)}.geo-group-eu .gdpr_only{visibility:visible}.geo-group-eu .no_gdpr{visibility:hidden}.video .mw-headline{display:inline}.header .search{display:table-cell}.header .search .cse_q{width:25px;height:25px;padding-right:25px}.header .search .cse_q:focus{position:absolute;left:5px;top:5px;right:5px;width:auto}.header .search .cse_sa{background-color:transparent;background-image:url(/extensions/wikihow/mobile/images/gray_mag.png); background-image:url(/extensions/wikihow/mobile/images/gray_mag.svg);background-size:25px 25px;background-repeat:no-repeat;background-position:center center;width:25px;height:25px;border:none;margin:0;padding:0;cursor:pointer;right:10px}#mw-mf-viewport{background-color:#E9E7E3}#mw-mf-viewport.menuopen{overflow:auto}#sidebar{display:none}.section.bss_share_container{margin-top:0;text-align:center}.bss_share_title.section-heading{border:0}.bss_share_container .section_text{padding-top:0px}.bss_share_button.button.secondary{display:inline-block;font-weight:bold;color:#97ba78;border:1px #97ba78 solid;background-color:#fff;margin-right:0}@media only screen and (min-width:768px){.sp_num_votes{margin-top:2px}.section .bss_share_button.button.secondary{width:75%}}</style>
<script>WH.mediumScreenMinWidth=728;WH.largeScreenMinWidth=975;WH.shared=function(){function p(a){null==q&&(q=new IntersectionObserver(function(a,d){a.forEach(function(a){a.isIntersecting&&(g[a.target.id].load(),q.unobserve(a.target))})},{rootMargin:z}));q.observe(a)}function A(a){u.push(a)}function B(a,b){var d=null,c=0,e=function(){c=0;d=null;a.apply()};return function(){var f=J(),g=b-(f-c);0>=g||g>b?(d&&(clearTimeout(d),d=null),c=f,a.apply()):d||(d=setTimeout(e,g))}}function v(){console.log("updateVisibility");var a=!1,b=window.innerHeight||document.documentElement.clientHeight,d;for(d in g){var c=g[d];if(!c.isLoaded){a=c;var e=a.element.getBoundingClientRect(),f={top:e.top,bottom:e.bottom};0==a.lastTop-e.top&&window.scrollY!=a.lastY&&(f.top-=window.scrollY,f.bottom-=window.scrollY);a.lastTop=e.top;a.lastY=window.scrollY;a=f;e=b;f=52;var h=2*e;f-=h;e+=h;(0==a.top&&0==a.bottom?0:a.top>=f&&a.top<=e||a.bottom>=f&&a.bottom<=e||a.top<=f&&a.bottom>=e)&&c.load();a=!0}}!a&&g.length&&(window.
removeEventListener("scroll",l),l=null)}function w(a){if(a&&a.element){var b=!0;a.element.className||(b=!1);-1==a.element.className.indexOf("content-fill")&&(b=!1);if(b&&document.addEventListener&&a.finishedLoadingEvent){a.loaderRemoved=!1;b=document.createElement("div");b.className="loader";for(var d=0;3>d;d++){var c=document.createElement("div");c.className="loader-dot";b.appendChild(c)}var e=document.createElement("div");e.className="loading-container";e.appendChild(b);a.element.parentElement.insertAdjacentElement("afterbegin",e);a.element.addEventListener(a.finishedLoadingEvent,function(){a.loadedCallback&&a.loadedCallback();0==a.loaderRemoved&&(this.parentElement.removeChild(e),a.loaderRemoved=!0,"undefined"!==typeof a.element.classList&&a.element.classList.remove("img-loading-hide"));a.alt&&(a.element.alt=a.alt,"undefined"!==typeof a.element.classList&&a.element.classList.remove("img-loading-alt"))});a.errorEvent&&a.element.addEventListener(a.errorEvent,function(){a.alt&&(a.
element.alt=a.alt)})}else a.alt&&(a.element.alt=a.alt),"undefined"!==typeof a.element.classList&&a.element.classList.remove("img-loading-hide")}}function x(a){if(!a)return"";if(!h)return a;var b=a.split(".").pop();"jpg"!==b&&"png"!==b||!a.match(/images(_[a-z]{2})?\/thumb\//)||a.match(/(\.[a-zA-Z]+){2}$/)||(a+=".webp");return a}function K(a){this.isLoaded=!1;this.element=a;k||(this.lastY=window.scrollY,this.lastTop=a.getBoundingClientRect().top);this.src=a.getAttribute("data-src");this.load=function(){this.element.setAttribute("src",this.src);this.isLoaded=!0}}function C(a){this.isLoaded=!1;this.element=a;k||m||(this.lastTop=a.getBoundingClientRect().top,this.lastY=window.scrollY);this.alt=a.alt;a.alt="";this.finishedLoadingEvent="load";this.errorEvent="error";if(n){var b=a.getAttribute("data-srclarge");null!=b&&(this.src=b)}this.src||(this.src=a.getAttribute("data-src"));this.src=x(this.src);a&&void 0!==a.classList&&a.classList.add("img-loading-hide");this.load=function(){this.element.
setAttribute("src",this.src);this.isLoaded=!0;w(this)}}function L(a){this.isLoaded=!1;this.element=a;k||(this.lastTop=a.getBoundingClientRect().top,this.lastY=window.scrollY);this.finishedLoadingEvent="loadeddata";this.isPlaying=!1;this.src="https://www.wikihow.com/video"+this.element.getAttribute("data-src");this.poster=this.element.getAttribute("data-poster");(this.poster=x(this.poster))&&"jpg"==this.poster.split(".").pop()&&h&&(this.poster+=".webp");this.noAutoplay=this.element.getAttribute("data-noautoplay");this.play=function(){this.element.play();this.isPlaying=!0};this.pause=function(){this.element.pause();this.isPlaying=!1};this.load=function(){this.element.setAttribute("poster",this.poster);!D||this.noAutoplay||!n&&!0!==window.wgIsMainPage?this.finishedLoadingEvent=null:(this.element.setAttribute("src",this.src),this.play());this.isLoaded=!0;this.noAutoplay||w(this)}}function r(a){var b=document.getElementById(a);if(b)if(h||E){a=!1;var d=null,c=b.nodeName.toLowerCase();if(
"img"===c)d=new C(b),m?(c=d,c.element.classList.remove("img-loading-hide"),c.element.classList.add("img-loading-alt"),c.element.setAttribute("loading","lazy"),c.load()):k?p(d.element):a=!0;else if("video"===c)d=new L(b),k?p(d.element):a=!0;else if("iframe"===c)d=new K(b),k?p(d.element):a=!0;else if("picture"===c)if(c=b.getElementsByTagName("img")[0],m){t?(c.width=c.dataset.width,c.height=c.dataset.height):(c.width=c.dataset.widthlarge,c.height=c.dataset.heightlarge);c.src=c.dataset.src;c=b.getElementsByTagName("source");for(var e=0;e<c.length;e++){var f=c[e];f.srcset=f.dataset.srcset}}else d=document.createElement("div"),d.className="content-spacer",b.appendChild(d),c.id="picture_"+M++,c.classList.add("content-fill"),d.appendChild(c),d=new C(c),useObserver?p(d.element):a=!0,b=c;else return;d&&(g[d.element.id]=d);c=b.getAttribute("data-width")||b.getAttribute("width");e=b.getAttribute("data-height")||b.getAttribute("height");0<c&&(b.parentElement.style.paddingTop=e/c*100+"%");F?d.load()
:a&&(v(),l=B(v,500),window.addEventListener("scroll",l))}else G.push(a)}var u=[],g={},G=[],l,F=!1,J=Date.now||function(){return(new Date).getTime()},h=!1,E=!1,y=window.innerWidth||document.documentElement.clientWidth,t=y<WH.mediumScreenMinWidth,H=!t&&y<WH.largeScreenMinWidth,I=!t&&!H,n=I,z="0px 0px 100% 0px",M=1,m="loading"in HTMLImageElement.prototype,k="IntersectionObserver"in window,q=null;(function(a){var b=new Image;b.onload=function(){a(0<b.width&&0<b.height)};b.onerror=function(){a(!1)};b.src="data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA"})(function(a){h=a;E=!0;G.forEach(function(a){r(a)})});1==WH.jsFastRender&&(m=!1,z="0px 0px 0px 0px");window.onresize=function(){u.forEach&&u.forEach(function(a){a()})};A(v);var D=function(){var a=window.document.createElement("video");a.setAttribute("muted","");a.setAttribute("playsinline","");a.setAttribute("webkit-playsinline","");a.muted=!0;a.playsinline=!0;a.webkitPlaysinline=!0;a.setAttribute("height","0"
);a.setAttribute("width","0");a.style.position="fixed";a.style.top=0;a.style.width=0;a.style.height=0;a.style.opacity=0;try{var b=a.play();b&&b.catch&&b.then(function(){}).catch(function(){})}catch(d){}return!a.paused}();window.addEventListener?window.addEventListener("scroll",l):F=!0;return{isDesktopSize:n,isSmallSize:t,isMedSize:H,isLargeSize:I,viewportWidth:y,getScreenSize:function(){var a=document;var b=a.documentElement,d=a.body,c=d&&d.clientWidth,e=0;!b||!b.clientWidth||"CSS1Compat"!==a.compatMode&&c?c&&(e=d.clientWidth):e=b.clientWidth;a=e;return 0==a||a>=WH.largeScreenMinWidth?"large":a>=WH.mediumScreenMinWidth?"medium":"small"},throttle:B,TOP_MENU_HEIGHT:52,autoPlayVideo:D,webpSupport:h,addScrollLoadItem:r,addLazyImage:function(a){var b=document.getElementById(a);if(!n&&h&&m)d=b.getAttribute("data-src-large"),n&&d||(d=b.getAttribute("data-src")),b.setAttribute("src",d);else{var d=b.getAttribute("data-src-nowebp");b.setAttribute("data-src",d);b.setAttribute("class",
"content-fill");r(a)}},addScrollLoadItemByElement:function(a){var b=a.id;b||(b="id-"+Math.random().toString(36).substr(2,16));a.id=b;r(b)},videoRoot:"https://www.wikihow.com/video",setupLoader:w,addResizeFunction:A,loadAllImages:function(){for(var a in g){var b=g[a];b.isLoaded||b.load()}},loadAllEmbed:function(){for(var a in g){var b=g[a];b.isLoaded||"iframe"==b.element.nodeName.toLowerCase()&&b.load()}},addLoadedCallback:function(a,b){g[a].loadedCallback=b},showVideoPlay:function(a){a=a.element.parentElement.getElementsByClassName("m-video-intro-over");"undefined"!==typeof a&&(a=a[0]);a&&(a.style.visibility="visible")},getCompressedImageSrc:x}}();</script>
<script>WH.gdpr=(function(){var acceptCookieName='gdpr_accept';function hasAcceptCookie(){var hasCookie=document.cookie.indexOf('gdpr_accept=');if(hasCookie>=0){return true;}return false;}function hasCookiePolicyPageOptOut(){var hasCookie=document.cookie.indexOf('gdpr_cpp_opt_out=1');if(hasCookie>=0){return true;}return false;}function hasEUQueryParam(){var url=window.location.href;if(url.indexOf('?EUtest=')!=-1){return true;}else if(url.indexOf('&EUtest=')!=-1){return true;}return false;}function isEULocation(){var value="; "+document.cookie;var parts=value.split("; vi=");var res=null;if(parts.length==2){res=parts.pop().split(";").shift();}if(hasEUQueryParam()){res="EU";}if(res=="EU"){return true;}return false;}function popupClosed(){createCookie("gdpr_accept",1,365);createCookie("gdpr_decline","",-1);gdpr.style.display="none";}function createCookie(name,value,days){var expires="; expires="+new Date(2147483647*1000).toUTCString();if(days){var date=new Date();date.setTime(date.getTime()+(days*
24*60*60*1000));expires="; expires="+date.toGMTString();}document.cookie=name+"="+value+expires+"; path=/";}function declinePage(){var decline=document.getElementById('gdpr_decline');if(decline){decline.style.display="block";decline.addEventListener("click",function(){var cookies=document.cookie.split(";");for(var i=0;i<cookies.length;i++){createCookie(cookies[i].split("=")[0],"",-1);}createCookie("gdpr_decline",1,1);var declineConfirm=document.getElementById('gdpr_decline_confirm');if(declineConfirm){declineConfirm.style.display='block';}});}var declineOk=document.getElementById('gdpr_decline_confirm_dismiss');if(declineOk){declineOk.addEventListener("click",function(){var declineConfirm=document.getElementById('gdpr_decline_confirm');if(declineConfirm){declineConfirm.style.display='none';}});}}function cookiePage(){var cookie_policy=document.getElementById('eu_cookie_policy');if(!cookie_policy){return;}var eu_cp_save=document.getElementById('eu_cp_save');var checkbox=document.
getElementById('eu_cookie_message_check');checkbox.addEventListener("click",function(){if(hasCookiePolicyPageOptOut()){if(this.checked==true){eu_cp_save.className='';}else{eu_cp_save.className='active';}}else{if(this.checked==true){eu_cp_save.className='active';}else{eu_cp_save.className='';}}});if(hasCookiePolicyPageOptOut()){checkbox.checked=!0;}else{checkbox.checked=!1;}cookie_policy.style.display="block";eu_cp_save.addEventListener("click",function(){var checkbox=document.getElementById('eu_cookie_message_check');if(checkbox.checked==true){createCookie('gdpr_cpp_opt_out',1,1);WH.event('gdpr_cookie_page_opt_out',{});}else{createCookie('gdpr_cpp_opt_out',0,1);WH.event('gdpr_cookie_page_opt_in',{});}eu_cp_save.className='';});WH.eventView('gdpr_cookie_page_opt_out');WH.eventView('gdpr_cookie_page_opt_in');}function pageLoaded(){if(!isEULocation()){return;}if(hasEUQueryParam()){var viValue='EU';createCookie('vi',viValue,1);}declinePage();document.body.className+=' '+'geo-group-eu'
;var sidebarShare=document.getElementById('sidebar_share');if(sidebarShare){sidebarShare.remove();}cookiePage();}function initialize(){var isEU=isEULocation();var gdpr=document.getElementById('gdpr');if(gdpr&&isEU&&!hasAcceptCookie()){gdpr.style.display="block";}else if(gdpr){gdpr.parentNode.removeChild(gdpr);}var accept=document.getElementById('gdpr_accept');if(accept){WH.eventView('gdpr_banner_ok_click',{},'#gdpr_accept','click');WH.eventView('gdpr_banner_policy_click',{},'#gdpr_cp_link','click');WH.eventView('gdpr_banner_settings_click',{},'#gdpr_text_inner a','click');accept.addEventListener("click",function(){popupClosed()},true);}var close=document.getElementById('gdpr_close');if(close){close.addEventListener("click",function(){popupClosed()},true);}return;}return{'initialize':initialize,'pageLoaded':pageLoaded,'hasAcceptCookie':hasAcceptCookie,'hasCookiePolicyPageOptOut':hasCookiePolicyPageOptOut,'isEULocation':isEULocation};})();document.addEventListener('DOMContentLoaded',
function(){WH.gdpr.pageLoaded();},false);</script>
<style>.switch{position:relative;width:40px;height:20px;top:-5px;float:right;margin-right:0px}.switch .toggle_text{margin-left:-60px;font-size:12.4px;font-weight:bold} .switch input{opacity:0;width:0;height:0} .slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;-webkit-transition:.4s;transition:.4s}.slider::before{position:absolute;content:"";height:20px;width:20px;left:1px;bottom:4px;background-color:white;-webkit-transition:.4s;transition:.4s;top:0px}input:checked + .slider{background-color:#93B874}input:focus + .slider{box-shadow:0 0 1px #93B874}input:checked + .slider::before{-webkit-transform:translateX(18px);-ms-transform:translateX(18px);transform:translateX(18px)} .slider.round{border-radius:34px}.slider.round::before{border-radius:50%}div.articleShareIcons{display:none}div.articleShareIcons a{padding:2px}#pinterestShareRound{text-decoration:none}#pinterestShareRound > img{cursor:pointer}#rewardedweb{display:none}.related-title:hover,.related-title:visited:hover,.related-title:active:hover{background-color:white;color:#2483ef;text-decoration:none}#relatedwikihows.section_text .related-image-link{max-height:183px;overflow:hidden}.w_label:before{display:none}#intro .wh_ad_inner{line-height:0}.steps .wh_ad_inner{margin-top:20px}#intro_ad_1.full-width{margin-left:-15px}#intro_ad_1.gam-lrg{height:100px;margin-left:0px;text-align:center}.dfp_small{margin:auto;max-height:250px;max-width:300px;height:250px;width:300px;margin-bottom:12px}.dfp_small_inner{text-align:center;max-height:250px;max-width:300px;height:250px;width:300px;overflow:auto}#tips > .wh_ad_inner > div > ins{margin-top:22px}.oo-ui-buttonElement-button:hover{text-decoration:none}.ur_author{margin-top:5px;color:#c3c3c3;font-weight:normal;font-style:normal;display:inline-block;height:36px;vertical-align:bottom}.ur_rating{margin-top:5px}.section.sample h3 span.mw-headline{padding-top:1em}#sample_loading{display:none}.sd_thumb{text-align:center;width:200px;margin:6px}.sd_content .sd_thumb img{border:1px solid #BBB;width:100%;height:auto}#sd_container{padding:15px;background-color:#FFF;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch}.noscroll{overflow:hidden}.oo-ui-processDialog-content .oo-ui-window-head{background-image:url(/extensions/wikihow/MobileFrontendWikihow/images/dialog-header.svg);background-size:cover}#footer_newsletter{display:block;grid-column:3 / 3;grid-row:2 / span 4;min-height:166px}#footer_newsletter #footer_subscribe_icon{display:inline-block;width:25px;height:25px; background:url(/skins/owl/images/newsletter_footer.svg) no-repeat;position:relative;top:2px}#footer_newsletter #footer_subscribe_title{display:inline-block;font-weight:bold;font-size:18px;color:#444f45}#footer_newsletter #footer_subscribe_confirm_text{display:none;margin:5px 0 10px 0;font-weight:bold;font-size:14px}#footer_newsletter #footer_subscribe_text{margin:5px 0 10px 0;font-weight:bold;font-size:12px}#footer_newsletter #footer_subscribe_email{box-sizing:border-box;background:white;margin-bottom:10px;padding:5px 10px;border-radius:5px;border:1px solid #ffffff;font-size:16px;width:180px}#footer_newsletter #footer_subscribe_email.error{border:1px red solid}#footer_newsletter #footer_subscribe_notice{margin:4px auto;font-size:12px;width:180px;line-height:13px}#footer_newsletter a#footer_subscribe_button{display:block;background:#444f45;font-weight:bold;color:#FFF;margin:0 auto;padding:2px .7em;box-sizing:border-box;border-radius:5px;width:182px;border:none}.related-wh{display:block;margin-bottom:2%;overflow:hidden}.related-wh-title{background-color:rgba(50,50,50,0.5);padding:2% 4%;width:92%;min-height:32px;position:absolute;bottom:0;cursor:pointer;color:#fff;font-weight:bold}.related-wh-howto{font-size:12px}.medium_a{display:none} #watchtheserelatedvideos{display:grid;grid-template-columns:1fr;grid-gap:10px}#watchtheserelatedvideos a{display:block;position:relative;color:#444f45;border:1px solid #dfdfdf;border-radius:7px;text-decoration:none}#watchtheserelatedvideos .play_button{position:absolute;width:64px;left:50%;top:50%;transform:translate(-50%,-50%);z-index:1}#watchtheserelatedvideos img{display:block}#watchtheserelatedvideos img:not(.play_button){border-top-left-radius:7px;border-top-right-radius:7px}#watchtheserelatedvideos .related-expert-title{left:0;z-index:2;padding:5px;font-size:16px;font-weight:bold}#watchtheserelatedvideos .related-expert-title .related-wh-howto{font-weight:normal}@media only screen and (min-width:728px){.switch{top:-45px;margin-right:-295px}.medium_a{display:block}.related-wh{float:left;width:48%;margin-right:2%}.sd_thumb{width:200px}div.articleShareIcons{display:block;position:relative;float:right;top:0px}.gdpr_button,button.gdpr_button{vertical-align:baseline;margin-bottom:0;margin:0 auto}#gdpr_text{position:relative}#gdpr_cp_link{position:absolute;width:155px;right:-230px;top:2px}#gdpr_text_inner{padding-right:0}#gdpr_accept_wrap{width:70px}#housebottom_ad_1{display:block;padding-top:25px}.house-promo{display:block}#hausead-img-wrap{display:block;position:relative}#intro_ad_1.full-width{margin-left:0}.test_list_article .steps .section_text ul{margin:0 26px 0 26px}.test_list_article .section_text{background-color:#FFF;border-radius:0 0 4px 4px;font-size:16px}.test_list_method .steps .altblock{height:60px}.test_list_method .steps h3 span.mw-headline{height:58px}.test_list_method .steps .wh_ad_inner.al_grey{display:block}.menu{font-size:1rem;position:absolute;border:1px solid #91af79;margin:0;padding:10px 0;top:71px;z-index:1000;background-color:#f9f9f9;display:none;right:0}.menu a{display:block;padding:0 20px 0 15px;line-height:26px;color:#669933}#AdminOptions.menu a{color:#363}.menu a:hover{color:white;background-color:#91af79;text-decoration:none}#AdminOptions.menu a:hover{color:white}.admin_arrow{width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:5px solid #AAAAAA;display:inline-block;margin-left:3px;margin-bottom:1px}.menu a.admin_tab_hide{display:none} #actionbar{position:relative;height:35px;margin-top:-10px;z-index:2} .is-authenticated #actionbar{display:block}ul#tabs{position:absolute;top:0px;left:2px;margin:0px;padding:0px}ul#tabs li{float:left;list-style:none;padding:0px;margin:0px;padding-right:15px;line-height:2em}ul#tabs li a{font-size:13px;font-weight:500}ul#tabs li a.on{color:#454545;font-weight:bold}.mobile_tab:first-child{margin-left:2.3em}#AdminOptions{position:absolute;top:30px;font-size:1em;border:1px solid #91af79;color:#363;margin:0;background-color:#f9f9f9;width:100%;width:-moz-max-content;width:-webkit-max-content;width:-o-max-content}ul#AdminOptions li{padding-left:0px}#content_wrapper{margin:1em auto;max-width:1050px;padding:40px 1em 1em}#content_inner{width:100%;max-width:728px;margin:0 auto;position:relative}.full_width #content_wrapper,.full_width #content_inner{max-width:initial;padding-left:0;padding-right:0}.stable .content p,.stable .content li,.stable .content dl{line-height:25px}.stable .content .steps_list_2 ul,.stable .content .steps_list_2 ol{margin-left:55px;margin-top:5px;padding:0}#trust_banner{border-radius:4px 4px 0 0;font-size:14px}#trust_banner span{display:inline}#breadcrumb{padding:1.1em 0 0.8em 26px;color:#307530}div.articleShareIcons{margin-right:10px;margin-top:-25px}.article_byline{color:#545454;font-size:.85em}.article_byline#recipe_byline{padding-top:0}.article_byline p{font-size:.9em;line-height:1.2rem}.coauthor_checkstar{background-position:right 1px}#byline_info{line-height:1.2rem}.byline_success{background-position:left 40%}#mobile_tab_container{display:none}#section_0{padding:26px 26px 0;line-height:normal}#section_0.special_title{font-size:35px}.ns-0.action-view #section_0{padding:0 26px}#intro{font-size:1em;margin:0;border-radius:0 0 4px 4px;padding:7px 26px}#intro p{line-height:25px}#intro .mwimg{margin:10px 0px}#intro .mwimg img{border-radius:3px}.mw-mf-cleanup{display:none}#method_toc{display:block;position:static;font-size:12px;font-weight:bold;line-height:1.65em;color:#222222;float:right;background-color:#f6f8f7;border-radius:6px;width:260px;padding:8px 15px 15px 15px;margin:2px 0 10px 10px;clear:right}#method_toc .hidden,#method_toc a.hidden,#method_toc #toc_showless{display:none}#method_toc span{margin-right:.75em}#method_toc .sp_method_toc{margin:3px -26px;border:0 26px;padding:10px 26px;border:0;color:#222222;background-color:#f6f8f7;font-size:12px;font-weight:bold;line-height:1.65em}#method_toc .header_toc{width:100%;padding-bottom:5px;color:#444;line-height:normal}#method_toc.en_toc .method_toc_item a{background-repeat:no-repeat;background-size:17px}#method_toc.en_toc .toc_method a > span{background-color:#94b778;width:15px;height:15px;display:inline-block;text-align:center;line-height:15px;border-radius:5px;color:#fff;margin-right:5px;font-size:11px;position:absolute;left:0;top:1px}#method_toc.en_toc a{display:block;font-weight:bold;font-size:12.4px;color:#307530;line-height:18px;margin:3px 0;background-image:none;padding-left:20px;position:relative}#method_toc.en_toc .header_toc{font-size:14px;display:none}#method_toc.en_toc #qa_toc{background-image:none}#method_toc.en_toc #qa_toc a{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 15'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%238effff;opacity:0%7D.cls-2%7Bfill:%23fff%7D.cls-3,.cls-4%7Bfill:none;stroke:%23a3a3a3%7D.cls-4%7Bfill:%23a3a3a3;stroke-linecap:round;stroke-linejoin:round;stroke-width:.25px%7D%3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M0 0h15v15H0z'/%3E%3Ccircle class='cls-2' cx='7.5' cy='7.5' r='7'/%3E%3Ccircle class='cls-3' cx='7.5' cy='7.5' r='6.56'/%3E%3Cpath class='cls-4' d='M5.66 3.42A3.16 3.16 0 0 1 7.39 3a3.76 3.76 0 0 1 2.25.64 2.24 2.24 0 0 1 .89 1.92 2.16 2.16 0 0 1-.39 1.31 4.42 4.42 0 0 1-.87.82L8.85 8a1.32 1.32 0 0 0-.46.63 2.82 2.82 0 0 0-.08.71H6.69a5.07 5.07 0 0 1 .19-1.4 2.55 2.55 0 0 1 .8-.94l.44-.34a1.4 1.4 0 0 0 .34-.35 1.21 1.21 0 0 0 .24-.73 1.43 1.43 0 0 0-.26-.82 1.12 1.12 0 0 0-1-.38 1.11 1.11 0 0 0-1 .46 1.81 1.81 0 0 0-.28 1H4.47a2.79 2.79 0 0 1 1.19-2.42z'/%3E%3Crect class='cls-4' x='6.65' y='10.15' width='1.79' height='1.73' rx='.44'/%3E%3C/svg%3E")}#method_toc.en_toc #rwh_toc a{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 15'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%238effff;opacity:0%7D.cls-2,.cls-3%7Bfill:%23fff%7D.cls-2,.cls-3,.cls-4,.cls-5%7Bstroke:%23a3a3a3%7D.cls-2,.cls-5%7Bstroke-width:.75px%7D.cls-4,.cls-5%7Bfill:none%7D.cls-5%7Bstroke-linecap:round;stroke-linejoin:round%7D%3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M0 0h15v15H0z'/%3E%3Cpath class='cls-2' d='M13.49 3.66v9.1a1.87 1.87 0 0 1-2 1.74H5.38a1.87 1.87 0 0 1-2-1.74V2.44a1.87 1.87 0 0 1 2-1.74H10z'/%3E%3Cpath class='cls-3' d='M11.59 3.45v8.11a1.87 1.87 0 0 1-2 1.74H3.48a1.87 1.87 0 0 1-2-1.74V2.24a1.87 1.87 0 0 1 2-1.74H8z'/%3E%3Cpath class='cls-4' d='M11.59 3.45H8.66A.58.58 0 0 1 8 2.91V.5'/%3E%3Cpath class='cls-5' d='M3.41 3.45h2.91M3.41 5.43h6.28M3.41 7.42h6.28M3.41 9.4h6.28M3.41 11.38h6.28'/%3E%3C/svg%3E")}#method_toc.en_toc #toc_ref a{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 15'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%238effff;opacity:0%7D.cls-2%7Bfill:none;stroke:%23a3a3a3;stroke-linecap:round;stroke-linejoin:round%7D.cls-3%7Bfill:%23fff%7D%3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M0 0h15v15H0z'/%3E%3Cpath class='cls-2' d='M4.19 2.82h8.15'/%3E%3Cpath class='cls-3' d='M12.34 4.23V14H4.46a1.8 1.8 0 0 1-1.8-1.8V2.61a1.56 1.56 0 0 0 1.49 1.62z'/%3E%3Cpath class='cls-2' d='M12.34 4.23V14H4.46a1.8 1.8 0 0 1-1.8-1.8V2.61a1.56 1.56 0 0 0 1.49 1.62zM2.66 2.61A1.55 1.55 0 0 1 4.15 1h8.19'/%3E%3C/svg%3E")}#method_toc.en_toc #summary_toc a{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 15'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%238effff;opacity:0%7D.cls-2,.cls-4%7Bfill:none;stroke:%2393b874;stroke-linecap:round;stroke-linejoin:round%7D.cls-3%7Bfill:%23fff%7D.cls-4%7Bstroke-width:.75px%7D%3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M0 0h15v15H0z'/%3E%3Cpath class='cls-2' d='M3.06 2.82H14'/%3E%3Cpath class='cls-3' d='M14 4.23V14H3.42C2.09 14 1 13.2 1 12.2V2.61a1.84 1.84 0 0 0 2 1.62z'/%3E%3Cpath class='cls-2' d='M14 4.23V14H3.42C2.09 14 1 13.2 1 12.2V2.61a1.84 1.84 0 0 0 2 1.62zM1 2.61A1.84 1.84 0 0 1 3 1h11'/%3E%3Cpath class='cls-4' d='M3.06 7.03h7.48M3.06 9.03h7.48M3.06 11.03h7.48'/%3E%3C/svg%3E")}#method_toc.en_toc #tips_toc a{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 15'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%238effff;opacity:0%7D.cls-2%7Bfill:%23fff%7D.cls-3%7Bfill:none;stroke:%23a3a3a3%7D.cls-4%7Bfill:%23a3a3a3%7D%3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M0 0h15v15H0z'/%3E%3Cg id='Ellipse_443-3' data-name='Ellipse 443-3'%3E%3Ccircle class='cls-2' cx='7.5' cy='7.5' r='7'/%3E%3Ccircle class='cls-3' cx='7.5' cy='7.5' r='6.56'/%3E%3C/g%3E%3Cpath class='cls-4' d='M7.56 2.63a1 1 0 0 1 1 1v1.53l-.5 4.48h-1l-.53-4.48V3.67a1 1 0 0 1 1.03-1.04z'/%3E%3Crect class='cls-4' x='6.57' y='10.13' width='1.97' height='1.91' rx='.95'/%3E%3C/svg%3E")}#method_toc.en_toc #summaryvideo_toc a{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15.5 15'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23fff;%7D.cls-1,.cls-4%7Bstroke:%2393b875;%7D.cls-2,.cls-4%7Bfill:none;%7D.cls-2%7Bopacity:0.61;%7D.cls-3%7Bfill:%2393b874;%7D%3C/style%3E%3C/defs%3E%3Cg id='Layer_2' data-name='Layer 2'%3E%3Cg id='TOC'%3E%3Cpath class='cls-1' d='M.54,5.25H13.89A1.11,1.11,0,0,1,15,6.36v7a1.11,1.11,0,0,1-1.11,1.11H1.65A1.11,1.11,0,0,1,.54,13.39V5.25A0,0,0,0,1,.54,5.25Z'/%3E%3Crect class='cls-2' width='15' height='15'/%3E%3Cpath class='cls-3' d='M2.13,7.44H.75c-.29,0-.53-.17-.53-.37V5.2h3Z'/%3E%3Cpolygon class='cls-3' points='5.82 5.2 4.77 7.44 3.25 7.44 4.3 5.2 5.82 5.2'/%3E%3Cpolygon class='cls-3' points='8.99 5.2 7.93 7.44 5.88 7.44 6.94 5.2 8.99 5.2'/%3E%3Cpolygon class='cls-3' points='11.63 5.2 10.57 7.44 9.05 7.44 10.1 5.2 11.63 5.2'/%3E%3Cpath class='cls-3' d='M14.47,7.44H11.69L12.75,5.2H15V7.07C15,7.27,14.76,7.44,14.47,7.44Z'/%3E%3Cpath class='cls-3' d='M3.16,4.69.05,5,0,3.36c0-.2.19-.41.48-.46l1.37-.24Z'/%3E%3Cpolygon class='cls-3' points='4.26 4.5 2.96 2.47 4.46 2.21 5.78 4.23 4.26 4.5'/%3E%3Cpolygon class='cls-3' points='6.88 4.04 5.57 2.01 7.6 1.65 8.92 3.68 6.88 4.04'/%3E%3Cpolygon class='cls-3' points='10.02 3.49 8.71 1.46 10.22 1.2 11.53 3.22 10.02 3.49'/%3E%3Cpath class='cls-3' d='M14.65.79l.23,1.84L12.64,3,11.33,1,14.09.52C14.38.47,14.63.59,14.65.79Z'/%3E%3Cline class='cls-4' x1='0.66' y1='7.74' x2='14.63' y2='7.74'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");color:#307431}#method_toc.en_toc #summaryvideo_toc a span{font-size:7px;color:#307431;background-color:#bbd1ab;padding:1px 4px 0 4px;border-radius:6px;display:inline-block;margin-top:1px;vertical-align:text-top;line-height:14px;margin-left:4px}#method_toc.en_toc #othervideo_toc a{background-image:url(/extensions/wikihow/wikihowtoc/images/toc_video.svg)}#method_toc.en_toc #need_toc a{background-image:url(/extensions/wikihow/wikihowtoc/images/toc_need.svg)}#method_toc.en_toc #ea_toc a{background-image:url(/extensions/wikihow/wikihowtoc/images/toc_expert.svg)}#method_toc.en_toc #ingredients_toc a{background-image:url(/extensions/wikihow/wikihowtoc/images/toc_ingredients.svg);background-position:0px 4px;background-size:15px}#method_toc.en_toc .toc_sample a{background-image:url(/extensions/wikihow/wikihowtoc/images/toc_sample_new.svg);padding-left:21px}#method_toc.en_toc .toc_questionmethod a{background-image:url(/extensions/wikihow/wikihowtoc/images/toc_video.svg);padding-left:21px}#method_toc.en_toc .toc_method.toc_tech a span{display:none}#method_toc.en_toc .toc_android a{background-image:url(/extensions/wikihow/wikihowtoc/images/toc_android.svg)}#method_toc.en_toc .toc_desktop a{background-image:url(/extensions/wikihow/wikihowtoc/images/toc_desktop.svg)}#method_toc.en_toc .toc_iphone a{background-image:url(/extensions/wikihow/wikihowtoc/images/toc_iphone.svg)}#method_toc.en_toc .toc_mac a{background-image:url(/extensions/wikihow/wikihowtoc/images/toc_mac.svg)}#method_toc.en_toc .toc_mobile a{background-image:url(/extensions/wikihow/wikihowtoc/images/toc_mobile.svg)}#method_toc.en_toc .toc_windows a{background-image:url(/extensions/wikihow/wikihowtoc/images/toc_windows.svg)}#method_toc.en_toc #final_toc a{background-image:url(/extensions/wikihow/wikihowtoc/images/toc_final.svg)}#method_toc.en_toc #steps_toc a{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%2394b778%7D.cls-2%7Bfill:%23fff%7D%3C/style%3E%3C/defs%3E%3Crect id='Rectangle_1284' data-name='Rectangle 1284' class='cls-1' width='17' height='17' rx='5'/%3E%3Crect id='Rectangle_1284-2' data-name='Rectangle 1284' class='cls-2' x='3.2' y='9.99' width='3.5' height='3.5' rx='1.03'/%3E%3Crect id='Rectangle_1284-3' data-name='Rectangle 1284' class='cls-2' x='3.2' y='3.51' width='3.5' height='3.5' rx='1.03'/%3E%3Cpath class='cls-2' d='M7.95 4.71h5.85v1.75H7.95zM7.95 11.19h5.85v1.75H7.95z'/%3E%3C/svg%3E");background-size:14px}#method_toc .toc_hidden,#method_toc .toc_ignore{display:none}#method_toc.intl_toc{margin:3px -26px 12px;padding:10px 26px;border-radius:0;width:100%;float:none}#method_toc.intl_toc a,#method_toc.intl_toc .toc_method,#method_toc.intl_toc #toc_showless,#method_toc.intl_toc #toc_showmore,#method_toc.intl_toc .toc_pre{ background-image:url(data:image/gif;base64,R0lGODlhCgAKAIAAAJa6eQAAACH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjEgNjQuMTQwOTQ5LCAyMDEwLzEyLzA3LTEwOjU3OjAxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1LjEgTWFjaW50b3NoIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjIxMjNDN0VGMjdBRjExRTNBNkUwQTY5OUIxODI0MUQ5IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjIxMjNDN0YwMjdBRjExRTNBNkUwQTY5OUIxODI0MUQ5Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MjEyM0M3RUQyN0FGMTFFM0E2RTBBNjk5QjE4MjQxRDkiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MjEyM0M3RUUyN0FGMTFFM0E2RTBBNjk5QjE4MjQxRDkiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4B//79/Pv6+fj39vX08/Lx8O/u7ezr6uno5+bl5OPi4eDf3t3c29rZ2NfW1dTT0tHQz87NzMvKycjHxsXEw8LBwL++vby7urm4t7a1tLOysbCvrq2sq6qpqKempaSjoqGgn56dnJuamZiXlpWUk5KRkI+OjYyLiomIh4aFhIOCgYB/fn18e3p5eHd2dXRzcnFwb25tbGtqaWhnZmVkY2JhYF9eXVxbWllYV1ZVVFNSUVBPTk1MS0pJSEdGRURDQkFAPz49PDs6OTg3NjU0MzIxMC8uLSwrKikoJyYlJCMiISAfHh0cGxoZGBcWFRQTEhEQDw4NDAsKCQgHBgUEAwIBAAAh+QQAAAAAACwAAAAACgAKAAACCISPqcvtD2MrADs=);background-repeat:no-repeat;background-position-x:left}#method_toc.intl_toc a{ background-position:0 3px;padding-left:15px;display:inline-block;font-size:12px;margin:0 5px 0 0}#method_toc.intl_toc .method_toc_item{display:inline;background:none;padding-left:0}#method_toc.intl_toc .method_toc_item a{line-height:17px}#method_toc.intl_toc .header_toc{margin-right:.75em;border-bottom:none;display:inline;font-size:12px}#method_toc.intl_toc .toc_nav{display:none}#method_toc.intl_toc span.summaryvideo_icon{background:url(/skins/owl/images/video_play_icon.png) 0 0 contain no-repeat; background-image:url(/skins/owl/images/video_play_icon.svg);width:14px;height:12px;margin:0 0 -1px 2px;display:inline-block}.toc_header{color:#444;border-bottom:1px solid #d8d8d4;font-size:12px;text-transform:uppercase}#section_0.title_lg,#section_0.title_md,#section_0.title_sm{font-size:35px}h2 .altblock,h3 .altblock{position:absolute;background-color:#93b874;top:0;left:0;height:60px;width:60px;font-size:12px;font-weight:bold;line-height:1em;text-align:center;padding:0;color:#fff;border-radius:4px 0 0 0;box-sizing:border-box;display:table}h2 .altblock > div,h3 .altblock > div{width:100%;height:auto;display:table-cell;vertical-align:middle;padding-top:.2em}div.section.steps h3 .altblock span{font-size:21px;padding-top:2.5px;display:block;line-height:20px}div.section.steps h3 .altblock span.method_of_count{display:none}.section{margin-top:2.2em; }.section.stuck{padding-top:58px}.section h2,.section h3{font-size:1.25em;position:relative}.section h2 span.mw-headline,.section h3 span.mw-headline{display:table-cell;vertical-align:middle;height:58px;padding-top:0;padding-bottom:0;line-height:1.125em}.section h2 .altblock ~ span.mw-headline,.section h3 .altblock ~ span.mw-headline{padding-left:75px}.section.sample h3 span.mw-headline{padding-top:0}.section.tips h2 .altblock{ background:#93b874 url(/skins/owl/images/tips_icon.svg) center / 32px no-repeat}.section.warnings h2 .altblock{ background:#93b874 url(/skins/owl/images/warnings_icon.svg) center / 32px no-repeat}.section #ingredients .checkmark,.section #thingsyoullneed .checkmark{width:1em;height:1em}.section:not(.steps) h3{font-size:1.25em;font-weight:bold;color:#222222}.section:not(.steps) h3 .altblock{border-radius:0;margin-top:.3em;top:auto;height:1.5em;width:1.5em}.section:not(.steps) h3 span.mw-headline{padding:0 0 0 1.3em}.section h2.sticking,.section h3.sticking,.section .tool div.sticking{position:fixed;top:39px;width:728px;z-index:5;border-radius:0}.section h2.sticking .altblock,.section h3.sticking .altblock,.section .tool div.sticking .altblock{border-radius:4px;margin:7px 16px 7px 7px;width:52px;height:44px}@supports (position:sticky){.section.sticky > h2,.section.sticky > h3{top:37px;z-index:5;position:sticky}.sticky-sentinel{position:absolute;left:0;right:0;visibility:hidden}.sticky-sentinel-top{height:20px;top:-59px}.sticky-sentinel-introa{height:20px;top:-59px;position:absolute;left:0;right:0;visibility:hidden}.section h2.sticking,.section h3.sticking,.section .tool div.sticking{position:sticky}}h4.steps_text{font-size:1.1em}.section_text,.steps_text{border:none}.steps_list_2 > li{border:none;margin-bottom:1.5em;position:relative}.content{margin:0 0 1.5em}.content .edit-page{display:block;position:absolute;top:1.7em;right:1.7em;background:none;font-size:.8rem;font-weight:normal;color:#307530}.content .sticking .edit-page{margin-right:10px}.pre-content{border-radius:4px 4px 0 0}.method_ad{margin-left:-19px}#intro.hasad{padding-bottom:0;border-bottom:0}#intro_ad_1{height:120px}#intro_ad_1.gam{height:90px}#intro_ad_1 > ins{background-color:#F3F3F3}.sticky-ia #intro_ad_1 > ins{background-color:#FFF}.steps .wh_ad_inner{margin-top:25px;margin-left:-20px;margin-bottom:-21px;line-height:0}.steps .wh_ad_inner.al_grey{margin-top:35px}.steps .wh_ad_inner.wh_ad_spacing{margin-top:40px;width:728px;min-height:0 !important}#qa .wh_ad_inner{margin-top:40px;margin-left:-15px;margin-bottom:-15px;line-height:0}#qa .wh_ad_inner.wh_ad_spacing{margin-top:40px}#ingredients .wh_ad_inner{margin-top:40px;margin-left:-26px;margin-bottom:-26px;line-height:0}#tips .wh_ad_inner{margin-left:-15px;margin-bottom:-15px}#tips_ad_1{margin-left:-15px;margin-bottom:-21px}#relatedwikihows{padding-left:15px}#relatedwikihows .wh_ad_inner{margin-top:40px;margin-left:-15px;margin-bottom:-16px;line-height:0}#relatedwikihows .wh_ad_inner.wh_ad_spacing{margin-top:40px}#intro .wh_ad_inner{margin-top:24px;margin-left:-26px}#intro .wh_ad_inner.al_grey{margin-top:40px}.qz_container .wh_ad_inner{margin-left:0;margin-top:0;margin-bottom:5px}#mw-mf-page-center .qz_container{margin:26px auto}.w_label{margin-top:13px;background:#fff}.promopair.w_label{margin-top:0}#rightrail1_ad_1.blockthrough.w_label:before{display:none}.rr_container .w_label{background-color:#f3f3f3}#intro .w_label{display:block}.al_dollar{position:relative}.al_dollar:after{content:'$';font-size:9px;font-weight:bold;position:absolute;left:5px;top:-10px;color:#ecebe8}.al_dollar.w_label:before{margin-top:-18px;left:0px;padding-left:16px;padding-right:4px;padding-top:2px;padding-bottom:2px;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;background:-webkit-linear-gradient(90deg,#888888 13px,#ecebe8 0%);background:-moz-linear-gradient(90deg,#888888 13px,#ecebe8 0%);background:-o-linear-gradient(90deg,#888888 13px,#ecebe8 0%);background:-ms-linear-gradient(90deg,#888888 13px,#ecebe8 0%);background:linear-gradient(90deg,#888888 13px,#ecebe8 0%);border:1px solid #444;font-weight:normal}#intro .al_dollar.w_label:before{background:-webkit-linear-gradient(90deg,#888888 13px,#ffffff 0%);background:-moz-linear-gradient(90deg,#888888 13px,#ffffff 0%);background:-o-linear-gradient(90deg,#888888 13px,#ffffff 0%);background:-ms-linear-gradient(90deg,#888888 13px,#ffffff 0%);background:linear-gradient(90deg,#888888 13px,#ffffff 0%)}.w_label:before{font-size:9px;line-height:normal;color:#444;position:absolute;left:6px;margin-top:-13px;display:block}.al_grey.w_label:before{color:#bababa}.m-video-wm{display:block;position:absolute;bottom:0;right:0;background-color:#93b874;color:#FFF;font-weight:bold;font-size:13.5px;line-height:13px;opacity:0.6 !important;padding-top:5px;padding-bottom:4px;padding-right:5px;padding-left:0px;text-decoration:none;pointer-events:none}.m-video-wm canvas{height:13px;vertical-align:bottom}.m-video-wm:before{right:100%;bottom:0;content:" ";height:100%;width:0;position:absolute;pointer-events:none;border-bottom:22px solid #93b874;border-left:18px solid transparent}#preload-wm-img{background:url(/skins/WikiHow/images/WH_logo.svg) no-repeat -9999px -9999px}.content .m-video-wm-img{width:auto !important;height:11px !important;padding-right:5px;display:block;float:left}.sourcesandcitations .section_text{padding-left:42px}.content .tips .section_text ul li,.content .warnings .section_text ul li{margin-bottom:0.8em}.content .tips .section_text ul li div.wh_vote_container,.content .warnings .section_text ul li div.wh_vote_container{display:none}#end_options{display:block}#end_options li{display:inline-block}#end_options li:before{content:'|';color:#e7e7e7;margin:0 1em}#end_options li:first-child:before{display:none}#article_rating_mobile{margin-top:1.5rem}#article_rating_mobile .mw-headline{font-weight:bold}#footer{text-align:left}#footer_inner{display:grid;grid-template-columns:1fr 1px 1fr;grid-template-rows:auto auto 30px auto auto auto;align-items:initial}.footer_divider,#footer_logo,#footer_crumbs{grid-column:1 / span 3}#footer_logo{grid-row:1}#footer_crumbs{grid-row:2}#footer_top_divider{display:none}#search_footer{grid-column:1;grid-row:4;width:85%}#footer_links{grid-column:1;grid-row:5;text-align:initial;padding-left:initial;margin-top:10px}#footer_links ul{column-gap:7.5em}#footer_vertical_divider{grid-column:2;grid-row:4 / span 3;border-left:1px solid #77a555}#contribute_footer_inner{max-width:688px}#byline_hover{z-index:6;position:absolute;top:28px;width:375px;max-width:375px;font-size:13px;line-height:1.5em;border:4px solid #7fa065;border-radius:6px;background-color:#FFF}#aboutthisarticle #summary_wrapper{width:100%;height:100%;position:fixed;overflow-y:scroll;top:0;left:0;z-index:100;display:none;background-color:rgba(0,0,0,0.2)}#aboutthisarticle #summary_wrapper .collapse_link{display:block;top:25%;position:relative;left:25%;width:50%;background-color:#93b874;color:#fff;padding:12px 18px;font-size:20px;font-weight:bold}#aboutthisarticle #summary_wrapper .collapse_link.open{margin-bottom:0}#aboutthisarticle #summary_wrapper .collapse_link:after{border:none}#aboutthisarticle #summary_text{position:relative;width:50%;top:25%;border:1px solid #93b874;background-color:#fff;padding:15px 20px 15px 15px;line-height:25px;left:25%;right:25%;display:block}#aboutthisarticle #summary_text h2{background-color:#93b874;color:#fff;margin:-15px -20px 10px -15px;padding:15px}#aboutthisarticle .text_summary_wrapper{overflow-y:auto}#aboutthisarticle #summary_last_sentence{display:inline}#aboutthisarticle #summary_close{position:absolute;top:11px;right:10px;width:30px;height:30px;color:#fff;border:1px solid #fff;border-radius:15px;text-align:center;line-height:30px;font-weight:normal;text-decoration:none;font-size:16px;display:block;background:#93b874}#aboutthisarticle .page_stats{display:block;text-align:center;border-radius:0 0 4px 4px;font-weight:bold}#aboutthisarticle #other_languages .collapse_link{background:none}#aboutthisarticle #other_languages .collapse_link::after{content:':'}#aboutthisarticle #language_links{display:block;margin-top:.5em;-webkit-columns:2;-moz-columns:2;columns:2}.al_method{display:none}#expertadvice > ul{padding-top:10px}.content .section_text.expert_advice_section p{font-size:16px;margin-bottom:0}.content .section_text.expert_advice_section ul li{font-size:16px}.healtharticle .altblock{background:#93b874 url(/extensions/wikihow/wikihowhealth/icon_wikihow_health.svg) center / 32px no-repeat}.healtharticle{margin-bottom:45px}.small_pdf_link{display:none}a.large_pdf_link{display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;float:right;font-weight:bold;margin:-5px 127px 5px 0;font-size:12.5px;color:#333333;background-color:#F6F8F7;padding:.45em 1.1rem;border-radius:8px}a.large_pdf_link:hover{text-decoration:none}a.large_pdf_link.pdf_link_steps{margin:10px 10px 0 0;min-width:135px;white-space:nowrap}a.large_pdf_link.intl{margin-right:0}a.large_pdf_link img{width:23px;margin-right:.3rem}a.large_pdf_link > div{margin-left:.4rem}#footer_newsletter{display:block;grid-column:3;grid-row:4 / span 2;width:210px;margin:0 auto;text-align:center}#footer_newsletter #footer_subscribe_title{font-size:19px}#footer_newsletter #footer_subscribe_email{font-size:12px;width:100%;padding:5px 10px;border-radius:10px}#footer_newsletter a#footer_subscribe_button{font-size:14px;width:initial;border-radius:8px}#footer_newsletter #footer_subscribe_notice{font-size:11px}#footer_newsletter_divider{display:none}#intro .wh_ad_inner.al_grey{margin-top:40px}#watchtheserelatedvideos{grid-template-columns:1fr 1fr}.al_grey{text-transform:uppercase;letter-spacing:1px}}@media only screen and (min-width:975px){.w_label{display:inline-block}.wh_ad_inner.al_grey{margin-top:25px;display:block}.promopair.wh_ad_inner.al_grey{margin-top:0px}@supports (position:sticky){#sticky-iaw:not(.no-sticky-ia){position:absolute;height:685px;top:110px;width:100%;left:0}#mw-mf-viewport #content_wrapper.sticky-iac:not(.no-sticky-ia){padding-top:200px}.w_label.sticky-ia{margin-top:-11px;padding-top:22px;padding-bottom:20px}#sticky-iaw #intro_ad_1.full-width:not(.no-sticky-ia){margin:0 auto}.al_grey.sticky-ia:before{margin:0 auto;left:0;right:0;top:10px}.sticky-ia{top:39px;z-index:7;position:sticky;width:100%;text-align:center}}#rightrail0_ad_1{position:sticky;top:65px}#rightrail0_ad_1.rr_sticky_ia{position:sticky;top:195px}#leftrail0_ad_1{position:sticky;top:65px}#rightrail1_ad_1{position:sticky;top:65px}#rightrail2_ad_1{position:sticky;top:65px}.article-promo{display:block;position:relative}#promopair_container{display:block;position:relative;height:224px;margin-top:18px}#promopair_container.wh_ad_spacing{height:250px;background-color:#FFF;margin-top:0px}#promopair_container.tip_submit{padding-top:15px}#tips #promopair_container .wh_ad_inner{position:absolute;left:0;width:300px;height:250px}#promopair-img-wrap{position:absolute;right:-26px;width:420px}.wh_ad_spacing #promopair-img-wrap{right:0}#promopair_container img{min-width:auto;min-height:auto}.menu_login,.menu_messages{position:absolute;border:1px solid #91af79;margin:0;padding:10px 0;top:71px;z-index:1000;background-color:#f9f9f9;display:none;right:0}.menu_login{padding:15px 25px} #actionbar{display:block}#mw-mf-viewport{min-width:1070px}.header{height:72px;position:relative;border-top:none;max-width:1050px; }.header #mw-mf-main-menu-button,.header #hamburger_dot{display:none}.header .search{display:block;height:39px}#header_logo{background-position:left 20px;background-size:162px;width:158px;padding-left:0}#hs,#hs_query{width:auto}#hs_query{position:relative;display:block;float:left;border:solid #FFF;border-width:0 0 2px;border-radius:0;font-size:1.25em;background:none;height:auto;width:75%;min-width:200px;padding:9px 7px 4px}#hs_query::placeholder{color:#FFF;opacity:1}.hs_notif #hs_query{margin-right:0}#hs_submit{position:relative;display:inline-block;background-color:#ADC996;border-radius:4px;width:80px;background-position:center;background-size:25px;margin-left:10px}.hs_active #hs_query:valid ~ #hs_submit{display:inline-block}#content_wrapper{padding:71px 1em 1em}.header #actions{display:table-cell;padding:0px;margin:0px;border-right:1px solid #89ac6c;width:50%}.header #actions li{border-left:1px solid #89ac6c;padding:0px;height:72px;float:right;list-style:none !important;margin:0px;cursor:pointer;width:14%;position:relative;display:table}.header #actions li .nav{font-size:calc(8px + (10 - 8) * ((100vw - 975px) / (1020 - 975)));font-weight:bold;color:#475347;display:block;padding-top:40px;position:relative;text-align:center;z-index:1;line-height:normal;display:table-cell;vertical-align:middle;height:auto;width:100%}.header #actions li:hover .nav{color:#2C3C2C;text-decoration:none}.header #actions li .new_bubble{font-size:.7em;padding:0 .5em;margin-left:0}.nav_icon{position:absolute;top:0;width:100%;height:46px;background-repeat:no-repeat;background-position:center;-webkit-transition:all 0.1s ease-out;transition:all 0.1s ease-out}.nav_item:hover,.nav_item_selected{background-color:#85A669}#nav_explore_li .nav_icon{ background-image:url(/skins/owl/images/nav_explore.optimized.svg);background-size:28%}#nav_explore_li:hover .nav_icon{ background-image:url(/skins/owl/images/nav_explore_hover.optimized.svg);background-size:31%}#nav_messages_li .nav_icon{ background-image:url(/skins/owl/images/nav_messages.optimized.svg);background-size:33%}#nav_messages_li:hover .nav_icon{ background-image:url(/skins/owl/images/nav_messages_hover.optimized.svg);background-size:37%}#nav_profile_li .nav_icon{ background-image:url(/skins/owl/images/nav_profile.optimized.svg);background-size:29%}#nav_profile_li:hover .nav_icon{ background-image:url(/skins/owl/images/nav_profile_hover.optimized.svg);background-size:32%}#nav_profile_li.nav_member .nav_icon{ background-image:url(/extensions/wikihow/MembershipManager/images/nav_proprofile.svg);background-size:40%;background-position:center 11px}#nav_profile_li.nav_member:hover .nav_icon{ background-image:url(/extensions/wikihow/MembershipManager/images/nav_proprofile_hover.svg);background-size:43%}.menuitem.menu_separator:hover{background-color:#fff}#nav_help_li .nav_icon{ background-image:url(/skins/owl/images/nav_help.optimized.svg);background-size:31%}#nav_help_li:hover .nav_icon{ background-image:url(/skins/owl/images/nav_help_hover.optimized.svg);background-size:34%}#nav_edit_li .nav_icon{ background-image:url(/skins/owl/images/nav_edit.optimized.svg);background-size:31%}#nav_edit_li:hover .nav_icon{ background-image:url(/skins/owl/images/nav_edit_hover.optimized.svg);background-size:34%}.menuitem.top_cat{padding-left:25px;font-size:14px;line-height:22px}#actions #nav_pro_li{border:none;background:#FFF;border-radius:35px;margin:13px 10px 0 0;box-sizing:border-box;height:45px;width:100px}#actions #nav_pro_li .nav_icon{ background-image:url(/skins/owl/images/nav_pro.svg);background-size:100%;right:16px;width:22px;height:45px}#actions #nav_pro_li .red_dot{display:none;position:absolute;background:#FF3333;height:10px;width:10px;right:13px;bottom:10px;border-radius:50%}#actions #nav_pro_li .menu{top:50px;border:none;border-radius:15px;padding:12px 0;box-shadow:-2px 4px 4px rgba(122,122,122,0.25)}#actions #nav_pro_li .menu hr{color:#D9D9D9;margin:12px 0}#actions #nav_pro .label{display:inline-block;background:#FFCF5A;color:#FFF;font-size:1.2em;padding:.25em .6em;position:absolute;left:16px;top:28%;border-radius:5px} .header #secondary-button.user-button{position:absolute;padding:0;top:-2px;right:-4px;z-index:1}.header #secondary-button.user-button span{font-size:.6em;width:2.2em;height:1.5em;line-height:1.5em;border-radius:1.5em;position:relative}#header_container{height:72px;transform:scaleY(1);transform-origin:top;transition-duration:120ms}#header_top_watch{position:absolute;width:1px;height:1px;top:3px;left:0}#header_container.shrunken{transform:scaleY(0.5);transform-origin:top;transition-duration:210ms} .header_container.shrunk{height:39px}.header_container.shrunk .header{height:39px}.header_container.shrunk .header #secondary-button.user-button{top:-10px}.header_container.shrunk #header_logo{background-position:left 5px}.header_container.shrunk #hs_query{height:32px}.header_container.shrunk #hs_submit{height:32px;background-size:21px;margin-top:3px}.header_container.shrunk .nav_icon{display:none}.header_container.shrunk .menu,.header_container.shrunk .menu_login,.header_container.shrunk .menu_messages{top:38px}.header_container.shrunk #actions li{height:39px}.header_container.shrunk #actions li .nav{padding:0}.header_container.shrunk #actions #nav_pro_li{height:30px;width:77px;margin-top:4px}.header_container.shrunk #actions #nav_pro_li .red_dot{display:none !important}.header_container.shrunk #actions #nav_pro_li .menu{top:33px}.header_container.shrunk #actions #nav_pro .label{position:relative;left:auto;top:auto}.scrollto_wrap{height:90px}#qa .wh_ad_inner{margin-top:18px;margin-bottom:-47px}#tips .wh_ad_inner{margin-left:-26px;margin-bottom:-26px}#warnings .wh_ad_inner{margin-left:-26px;margin-bottom:-26px}#aboutthisarticle .wh_ad_inner{margin-left:-26px;margin-top:5px;margin-bottom:-26px}#aboutthisarticle .wh_ad_inner.al_grey{margin-top:25px}#thingsyoullneed .wh_ad_inner{margin-left:-26px;margin-bottom:-26px}#references .wh_ad_inner{margin-left:-42px}.rtl .method_ad{margin-right:-19px}.rtl #qa .wh_ad_inner{margin-right:-16px}.rtl #intro .wh_ad_inner{margin-right:-26px}.rtl .steps .wh_ad_inner{margin-right:-21px}.rtl #relatedwikihows .wh_ad_inner{margin-right:-16px}.qz_container .wh_ad_inner{margin-left:0;margin-top:0;margin-bottom:5px}.menu_messages{right:0;font-size:.8em;width:300px;padding:0 0 3px 0}.menu_messages .mw-echo-state{background-color:#EEE}.menu_messages .mw-echo-state:hover{background-color:#F9F9F9}.menu_messages .mw-echo-unread{background-color:#F9F9F9}.menu_messages .mw-echo-content{padding-right:.5em}.menu_message_morelink{text-align:center;padding:5px} .oo-ui-windowManager-modal > .oo-ui-window.oo-ui-dialog{z-index:11}#ca-edit{display:none}.section.aidata{margin-top:-1.5em}.section_text{padding:26px}.step_num{font-size:2.8em;line-height:1em;margin-left:10px}.step{margin:0 30px 0 10px}.summarysection.mwimg,.summarysection .mwimg{margin:-26px -26px 0}#qa{padding:26px}.qa_divider{margin:0 -26px 15px}.qa_sq.qa_editing_aq{margin:0 -26px}#qa_ask_heading{margin-top:0}.references a.external,#site_notice a.external{background:none}#site_notice_x{float:right;display:block;width:14px;height:14px;background:url(/skins/owl/images/article_sprite.png) no-repeat -114px 0;margin:0 0px 10px 10px}#trust_banner{top:72px}#trust_banner > div{max-width:1050px}.shrunk_header #trust_banner{visibility:hidden}.coauthor_link:hover,.eat_tag:hover,.recipe_byline_stars:hover{text-decoration:none}#byline_hover_close{display:none}#left_sidebar{position:absolute;width:300px;height:100%;left:8px;top:103px}#sidebar{display:block;width:300px;min-height:500px;float:right;position:relative}#sidebar .al_dollar:after{top:-16px}#sidebar #cookie_notice{display:none}#sidebar #top_links{padding:30px 15px;white-space:nowrap;text-align:center;font-size:.65em;font-weight:bold}#sidebar #top_links #gatWriteAnArticle{margin-right:0}#sidebar .sidebox{background-color:#FFF;padding:16px;margin:0 0 15px 0;position:relative;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;color:#686868;font-size:13px;line-height:1.3em}#sidebar .sidebox p{font-size:14px;line-height:17px;margin:12px 0 0}#sidebar .sidebox h3{font-size:13px;font-weight:bold;color:#686868;margin-bottom:11px;padding:0px;background:none}#sidebar .sidebox.short_sidebox{padding-top:10px}#sidebar #social_proof_sidebox{line-height:normal;padding:0;font-weight:bold}#sidebar .difficult_icon{display:block;margin:.5em auto}#sidebar .arrow_box{position:relative}#sidebar .arrow_box:after,#sidebar .arrow_box:before{right:100%;top:50%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}#sidebar .arrow_box:before{border:none}#sidebar #social_proof_sidebox.arrow_box:after,#sidebar #social_proof_sidebox.arrow_box:before{top:38px}#sidebar #social_proof_sidebox.arrow_box:after{margin-top:0}#sidebar #aag_sidebox{display:none}#sidebar .arrow_box:after{border-color:rgba(255,255,255,0);border-right-color:#FFF;border-width:11px;margin-top:-80px}#sidebar .arrow_box:before{border-color:rgba(229,229,229,0);border-right-color:#e5e5e5;border-width:12px;margin-top:-81px}#sidebar #social_proof_sidebox h3{margin:0;text-align:left;font-size:11px;background-color:#f6f5f4;padding:4px 1em;width:inherit;-moz-border-radius-topright:4px;-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-webkit-border-top-right-radius:4px;top-left-border-radius:4px;border-top-right-radius:4px}#sidebar #social_proof_sidebox.arrow_box h3{font-size:15px;padding:10px 0 10px 10px}#sidebar #social_proof_sidebox h4{margin:10px 5px -5px 5px;text-align:left;font-size:12px;background-color:inherit}#sidebar .sp_box{float:left;width:130px;height:75px;position:relative;padding:10px 0 10px 15px}#sidebar .sp_thin_box{width:100%;height:auto;padding:0;display:table}#sidebar .sp_star_section_upper{margin-top:4px;display:inline-block}#sidebar #sp_star_rating_lower{font-size:11px}#sidebar .sp_star_rating_text{font-weight:normal}#sidebar .sp_helpful_box,#sidebar #sp_helpful_new,#sidebar .sp_difficult_box{border-right:1px solid #f3f3f3}#sidebar .sp_difficult_box{padding:10px;text-align:center}#sidebar .helpful_sidebox .sp_star_section_upper,#sidebar .helpful_sidebox .sp_helpful_lower{display:table-cell;vertical-align:middle}#sidebar .helpful_sidebox .sp_helpful_lower{padding-left:10px}#sidebar .helpful_sidebox .sp_star_container{height:26px;width:26px}#sidebar .sp_top_box{padding:10px;position:relative;background-color:#f0f5ec;border-radius:4px 4px 0 0;border:1px solid #ECEBE8}#sidebar .ar_avatar.generic{border:2px solid #708461}#sidebar .sp_expert_name a{color:#545454}#sidebar .sp_expert_blurb{font-size:12px}#sidebar #social_proof{font-size:11px;line-height:normal;color:#212121;margin:3px 0 30px 0;padding:0 0 5px 0;list-style:none}#sidebar #social_proof li{margin:0 10px 0 0;float:left;line-height:15px;color:#767676}#sidebar #sp_modified{display:inline-block;min-width:70px}#sidebar .sp_circle{border-radius:50%;width:15px;height:15px;display:inline-block;vertical-align:middle;margin-right:3px;float:left}#sidebar .sp_updated_icon{ background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAQAAACR313BAAABFElEQVQY00WQwS5DURRFLzGX+ARhLjEUHyG+QvyAmHUmxv6BmJhI/ILeu55HGkUrDSJiQrVoFK/L4LaRMznZ62SffU4gjGuBXdpU9DlhnZmsZjTNBg+IySQy5IiFf7yHGMXCYtzxyHLGmxm27fvtj+/eGk3SYC6wSAejT2rlwIGV+pQdtgM7GG2pQ5smk02/1JZRCLSx7qt65amIp16rXaN0Q6pKr/2ysmVpTl/666dJRiH1Cl9U7VmaxOiFIz9MMgwcJ/HVnmcmsW70eRKuE1jjM1lYmMTSjl11kJ32A4GDvBGjTUdq34ZRflgNBOa5Zxzq3DtvTPnq2uSpS1xOBuoZVdSYmuDALFuc8caIIQ8cspL1P0dFas6MaYbtAAAAAElFTkSuQmCC)}#sidebar .sp_updated_icon_sidebar{margin:14px auto 5px auto;position:absolute;left:-2px;right:0;width:22px;height:20px;background-image:url(/skins/owl/images/sp_icon_sidebar.png);background-image:linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='37.593' height='33.009' viewBox='0 0 37.593 33.009'%3E%3Cpath fill='%23FFF' d='M21.089 33.009v-5c6.344 0 11.504-5.161 11.504-11.504S27.433 5 21.089 5 9.584 10.161 9.584 16.504c0 .541.038 1.084.112 1.614l-4.951.694a16.776 16.776 0 0 1-.161-2.309C4.584 7.404 11.988 0 21.089 0s16.504 7.404 16.504 16.504-7.404 16.505-16.504 16.505z'/%3E%3Cpath fill='%23FFF' d='M14.169 17.468l-7.085 7%0A.084L0 17.468z'/%3E%3C/svg%3E");background-size:cover}#sidebar .sp_text{line-height:17px;font-weight:normal;padding-top:2px;padding-bottom:2px;font-size:11px}#sidebar .sp_thin_box .sp_text{display:table-cell;padding:8px 3.5%;vertical-align:top}#sidebar .sp_thin_box .sp_text:first-child{width:26%;padding-left:6.5%}#sidebar .sp_thin_box .sp_text:nth-child(2){width:28%}#sidebar .sp_thin_box .sp_text:last-child{width:22%}#sidebar .sp_thin_box .sp_text,#sidebar .sp_thin_box .sp_text a{color:#595959}#sidebar .sp_thin_box .sp_text_data{display:block;color:#545454}#sidebar .sp_text_data{font-size:12px;font-weight:bold}#sidebar .sp_stats_box.sp_thin_box{width:100%;float:none}#sidebar #sp_stats_sidebox{padding:5px 0}#sidebar #sp_stats_sidebox .sp_text_data{font-size:13px}#sidebar .sp_edit_icon{ background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAQAAACR313BAAAA6ElEQVQY01XQMUoDYRCG4VHsBY8gsRcsxUOIpxAvIHbpxNo7KDY2gmcw+yaKIijB1YQEG9EkKhgk+1r8WbOZr5uHGYYJYpoaR7SZMOKSHZZSN9Eiu3TxP2POqc34uEI2bIj02Ei8V8Ur2z6ZidyxEqyRVzG3UHtpw0FwWMVnC1WHaZ6gPcMXU317m/gjmJQHdab45U1aLUUwRMzsT/HT6xJlHFxgwwf7/qgjWzOUPNjmO/PVR3MH8ygnQXCa+e6bbZvpoDK/bAXBKp2mmM2j1MunrnPPPE2os1BysMw+LQYUjOlyxmbq/wEA8mibiYqo7QAAAABJRU5ErkJggg==)}#sidebar .sp_edit_icon_sidebar{margin:15px auto 5px auto;position:absolute;left:0;right:0;width:18px;height:18px;background-image:url(/skins/owl/images/sp_edit_icon_sidebar.png); background-image:linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19.813' height='19.82' viewBox='0 0 19.813 19.82'%3E%3Cpath fill='%23FFF' d='M19.801 4.792l-6.398 6.397L6.042 18.5 0 19.82l1.269-6.092 7.362-7.311L15.028.02s1.371-.305 3.199 1.523c1.828 1.877 1.574 3.249 1.574 3.249zM6.296 17.18s-.051-1.117-1.32-2.386c-1.219-1.269-2.387-1.269-2.387-1.269l-.558.609-.457 2.031c.355.203.761.457 1.167.863.457.457.711.812.914 1.219l2.031-.457.61-.61z'/%3E%3C/svg%3E");background-size:cover}#sidebar #sp_section_name{color:#545454;font-size:11px;padding-bottom:6px}#sidebar .sp_nonverifier_text > div{font-size:13px}#sidebar .sp_popup_container{top:110px;left:-20px;position:absolute;z-index:100000007;display:none}#sidebar .hint_box{min-width:150px;max-width:180px;position:relative;background:#FFF;border:3px solid;border-color:rgba(0,0,0,0.13);border-radius:4px;font-weight:normal;padding:9px;-moz-background-clip:padding; -webkit-background-clip:padding; background-clip:padding-box}#sidebar .hint_box p{font-size:12px;line-height:normal;margin:0;text-align:left}#sidebar .hint_box:after,#sidebar .hint_box:before{left:50%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}#sidebar .hint_box:after{top:-19px;border-color:rgba(255,255,255,0);border-bottom-color:#FFF;border-width:10px;margin-left:-10px}#sidebar .hint_box:before{top:-24px;border-bottom-color:#d5d5d5;border-width:12px;margin-left:-12px;-moz-background-clip:padding; -webkit-background-clip:padding; background-clip:padding-box}#sidebar .noarrow:after,#sidebar .noarrow:before{display:none}#sidebar .sp_helpful_rating_count,#sidebar #sp_helpful_text_sidebox{font-size:11px;font-weight:normal;color:#595959}#sidebar #sp_helpful_text_sidebox{margin-top:5px}#sidebar .helpfulness_text{font-size:12px;color:#545454;padding:4px 0 8px}#sidebar .sp_star_container{position:relative;width:21px;height:21px;float:left;border-right:2px solid transparent; background-image:url(/skins/owl/images/sp_helpful_icon_star_empty.optimized.svg) 0 0 cover no-repeat}#sidebar .social_sidebox{background-color:#FFF;padding:0}#sidebar .social_sidebox h3{margin:0;text-align:left;font-size:11px;background-color:#f6f5f4;padding:4px 1em;width:inherit;-moz-border-radius-topright:4px;-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-webkit-border-top-right-radius:4px;top-left-border-radius:4px;border-top-right-radius:4px}#sidebar .sp_helpful_box.helpful_sidebox{float:none;border-right:none;width:auto;height:auto;padding:15px;border-bottom:1px solid #e7e7e7}#sidebar .sp_helpful_statement{font-size:13px;margin-bottom:5px}#sidebar .sp_helpful_statement span{font-size:18px;font-weight:bold}#sidebar #sp_icon_header{background-color:#7fa065;color:#FFF;font-size:16px;font-weight:bold;padding:8px 25px}#sidebar #byline_hover_body{padding:10px 25px}#sidebar #byline_hover_body a{font-weight:bold}#sidebar #byline_hover_body .sp_expert_icon{width:20px;height:20px;display:inline-block;margin-bottom:-4px}#sidebar #side_related_articles{padding-right:0px;padding-bottom:8px}#sidebar #side_related_articles_larger .related-article{width:100%;margin-right:0;margin-bottom:4%}#sidebar #side_related_articles .related-article{margin-right:4%;margin-bottom:10px;width:45%}#sidebar #side_related_articles .related-title{bottom:4px}#sidebar #side_related_articles .related-image-link{display:inline}#sidebar .rr_container #side_related_articles{margin-top:10px;width:300px;box-sizing:border-box}#sidebar .related-title-text p{font-size:12px;line-height:15px}#sidebar .rr_container{margin-bottom:15px;position:relative}#sidebar .rr_container.nofixed .w_label{background-color:#ecebe8}#sidebar #userreviews{line-height:normal;margin:3px 0 15px 0;padding:0;color:#686868;font-size:12px;font-weight:bold;position:relative;background-color:white;max-width:300px}#sidebar .ur_review{margin-bottom:1px;background-color:#fff;padding:15px 20px;border-radius:4px}#sidebar .ur_review_text{position:relative;text-align:left;font-weight:normal;font-size:13px;line-height:18px;color:#545454;margin-top:7px}#sidebar .ur_nav_container{background-color:#FFF;margin-top:-6px;padding:0px 20px 15px;min-height:1em;border-radius:0 0 4px 4px}#sidebar .ur_share{float:right;font-weight:normal}#sidebar .ur_share_recipes{display:block;font-size:15px;font-weight:bold}#sidebar .ur_nav{display:block}#sidebar .ur_nav_staff{display:block;background:#f3f3f3;padding:5px}#sidebar .ur_even_more{display:none}#sidebar .ur_hide{display:none}#sidebar .ur_author .ur_name{font-size:13px;color:#545454;font-weight:bold}#sidebar .ur_review .ur_date{font-size:11px;color:#9c9c9c}#sidebar .ur_review p{margin-top:0px}#sidebar .ur_avatar{width:36px;height:36px;display:inline-block;border-radius:16%;margin-right:5px;vertical-align:bottom;overflow:hidden}#sidebar #sidebar_share{text-align:center}#sidebar #sidebar_share h3{text-align:left;padding-bottom:5px}#sidebar #sidebar_share > div{display:inline-block;vertical-align:bottom;margin-right:10px}#sidebar #sidebar_share > div.admin_state{margin:0px 3px -4px -1px}#sidebar #sidebar_share div.like_button{margin-bottom:-8px}#sidebar #sidebar_share div.like_button_es{margin-right:0px}#sidebar #sidebar_share #pinterest{margin-right:3px}#sidebar #sidebar_share #pinterest a{ direction:ltr}#sidebar #sidebar_share div.email_share{margin-left:4px;margin-right:0px;margin-bottom:-6px}#sidebar #sidebar_share div.email_share a{display:inline-block;position:relative;z-index:10}#sidebar #sidebar_share div.email_share img{cursor:pointer}#sidebar .fb_iframe_widget iframe{width:auto;position:absolute}#userreviews_mobile{display:none}#aboutthisarticle > .section_text,#aboutthisarticle .sp_top_box,#aboutthisarticle #sp_expert_desc,#aboutthisarticle .sp_box{padding:15px 26px}#aboutthisarticle .sp_difficult_box{padding:15px 0 0}#aboutthisarticle .sp_top_icon_bg{left:26px}#aboutthisarticle #endoptions{border-radius:0}#aboutthisarticle .page_stats{font-size:1.1em;padding:1.6em 26px}#aboutthisarticle #summary_text{border-bottom:none;margin-bottom:0}.no_sidebar #content_inner{float:none;max-width:1050px}#content_inner{float:left}.full_width #content_wrapper,.full_width #content_inner{max-width:initial}#footer_inner{grid-template-columns:1fr 1fr 1fr;max-width:1070px;align-items:start;margin-top:10px;column-gap:2%}.footer_divider,#footer_logo,#footer_crumbs{grid-column:span 2}#footer_top_divider{display:initial}#footer_bottom_divider{display:none}#footer_vertical_divider{display:none}#search_footer{grid-column:1 / 1;grid-row:span 1;min-width:265px;width:100%}#footer_links{grid-column:2 / span 1;grid-row:span 2;margin:0 0 0 50px;padding-left:1em;text-align:center}#footer_links ul{margin-top:-5px;-webkit-columns:2;-moz-columns:2;columns:2;-webkit-column-gap:.5em;-moz-column-gap:.5em;column-gap:.5em}#footer_links li{margin-right:25px}#contribute_footer_inner{max-width:975px}#contribute_footer_inner p{width:785px}#contribute_footer_inner > a{float:right;margin-top:-58px}.steps_list_2 .mwimg.largeimage{margin-bottom:20px}#qa .wh_ad_inner{margin-left:-26px}#tips_ad_1{margin-left:-26px;margin-bottom:-32px}#side_featured_articles .text{background-color:rgba(50,50,50,0.5);padding:2% 4%;width:92.75%;min-height:32px;position:absolute;bottom:0;cursor:pointer;color:#fff;font-weight:bold}#side_featured_articles .text:hover{background:white}#side_featured_contributor .bottom_button{text-align:center}#side_featured_contributor .bottom_button .button{margin:.1em 0;display:inline-block}#fc_id_img{float:left;margin-right:.8em}.thumbnail a:hover p{color:#2483ef}.sidebox .thumbnail p{font-size:12px !important}.sidebox .thumbnail p span{font-size:13px !important}#gdpr{padding-top:5px;padding-bottom:5px}#gdpr_text{font-size:13px;margin-left:-85px}#gdpr_cp_link{top:0px}.s-help-response{padding-left:10px;cursor:pointer;border:none;font-size:16px;font-family:Helvetica,arial,sans-serif;color:#363;background:none}.s-help-wrap{position:relative;width:50%;top:25%;left:25%;right:25%;display:block;background-color:#fff;padding:0 20px 15px 15px;border:1px solid #93b874;border-top:none}.s-help-response:hover{text-decoration:underline;background-color:inherit;border:none}#introad-outer > .gptlight{width:728px;height:90px}.s-help-wrap > .s-help-feedback-wrap{padding-bottom:30px}.s-help-feedback-wrap{display:none}#sample_loading{display:initial}#footer_newsletter{display:initial;margin:-25px 0 0 40px;min-width:200px;grid-row:2 / span 4;text-align:left}#footer_newsletter #footer_subscribe_title{font-size:18px}#footer_newsletter #footer_subscribe_email{box-sizing:initial;padding:5px 10px;font-size:14px;width:170px;border-radius:5px}#footer_newsletter a#footer_subscribe_button{box-sizing:initial;margin:initial;padding:2px 5px;border-radius:5px;font-size:initial;width:182px}#footer_newsletter #footer_subscribe_notice{width:180px;margin:5px 0;font-size:12px}}@media only screen and (min-width:1020px){.header #actions li .nav{font-size:10px}}@media only screen and (min-width:1200px){@supports (position:sticky){#sticky-iaw #intro_ad_1.full-width:not(.no-sticky-ia){width:1200px}}}@media only screen and (min-width:1320px){#content_wrapper.leftrail-mode{padding-left:78px}#left_sidebar{left:22px}}</style>
<script>window.WH.pageName='Copy-Source-Code';
window.WH.pageID=12518057;
window.WH.pageNamespace=0;
window.WH.pageLang='en';
window.WH.isMobile=1;
window.WH.stuCount=1;
window.WH.isAltDomain=0;
window.WH.topCat1='Computers and Electronics';
window.WH.topCat2='';</script>
<meta name="viewport" content="width=device-width"/>
<meta property="og:title" content="How to Copy HTML Source Code on Your Computer, iPhone, or Android"/>
<meta property="og:type" content="article"/>
<meta property="og:url" content="https://www.wikihow.com/Copy-Source-Code"/>
<meta property="og:site_name" content="wikiHow"/>
<meta property="og:description" content=" This wikiHow teaches you how to locate and copy the HTML source code of a website on your computer, phone, or tablet. The steps are pretty straight-forward when you're using a computer or an Android, but if you're using an iPhone or iPad,..."/>
<meta property="og:image" content="https://www.wikihow.com/images/f/ff/Copy-Source-Code-Step-23.jpg"/>
<meta property="og:image:width" content="3200"/>
<meta property="og:image:height" content="2400"/>
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:image:src" content="https://www.wikihow.com/images/f/ff/Copy-Source-Code-Step-23.jpg"/>
<meta name="twitter:site" content="@wikihow"/>
<meta name="twitter:description" content=" This wikiHow teaches you how to locate and copy the HTML source code of a website on your computer, phone, or tablet. The steps are pretty straight-forward when you're using a computer or an Android, but if you're using an iPhone or iPad,..."/>
<meta name="twitter:title" content="How to Copy HTML Source Code on Your Computer, iPhone, or Android"/>
<meta name="twitter:url" content="https://www.wikihow.com/Copy-Source-Code"/>
<meta name="twitter:app:name:iphone" content="wikiHow"/>
<meta name="twitter:app:id:iphone" content="309209200"/>
<meta name="twitter:app:url:iphone" content="wikihow://article?id=12518057"/>
<script>window.abgSmall = true;window.abgLarge = true;window.bucketId = 8;window.dfpSmall = false;window.dfpLarge = true;window.dfpPageType = 'article';window.dfpCategory = 'computers_and_electronics';window.nlpCategory = '/Computers & Electronics/Software';window.isCoppa = 'false';
</script><script>(WH.shared.isLargeSize&&window.abgLarge||WH.shared.isSmallSize&&window.abgSmall||WH.shared.isMedSize)&&function(){var a=document.createElement("script");a.async=!0;a.type="text/javascript";a.src=("https:"==document.location.protocol?"https:":"http:")+"//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js";var b=document.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)}();window.ccpaOut=0<=document.cookie.indexOf("ccpa_out=");var format="sma",viewportWidth=window.innerWidth||document.documentElement.clientWidth;0==WH.isMobile?format="dsk":viewportWidth>=WH.largeScreenMinWidth?format="lrg":viewportWidth>=WH.mediumScreenMinWidth&&(format="med");function setDFPTargeting(a,c){c=c[a.getAdUnitPath()];for(var b in c)a.setTargeting(b,c[b]);b=window.bucketId;10>b&&(b="0"+b);a.setTargeting("bucket",b);a.setTargeting("language",WH.pageLang);a.setTargeting("format",format);a.setTargeting("site",window.location.hostname);a.setTargeting("coppa",window.isCoppa);window.nlpCategory&&a
.setTargeting("nlp_category",window.nlpCategory);a.setTargeting("pagetype",window.dfpPageType);""!=dfpCategory&&a.setTargeting("category",window.dfpCategory)}if(WH.shared.isLargeSize&&window.dfpLarge||WH.shared.isSmallSize&&window.dfpSmall){var gads=document.createElement("script");gads.async=!0;gads.type="text/javascript";gads.src="https://securepubads.g.doubleclick.net/tag/js/gpt.js";var node=document.getElementsByTagName("script")[0];node.parentNode.insertBefore(gads,node);window.dfprequested=!0;window.googletag=window.googletag||{};window.googletag.cmd=window.googletag.cmd||[];window.googletag.cmd.push(function(){"true"==window.isCoppa&&(console.log("setting child directed"),window.googletag.pubads().setTagForChildDirectedTreatment(1));window.googletag.pubads().enableSingleRequest();window.googletag.pubads().disableInitialLoad();window.googletag.pubads().collapseEmptyDivs();window.googletag.enableServices();window.googletag.pubads().addEventListener("slotRenderEnded",function(a){WH
.ads&&WH.ads.slotRendered(a.slot,a.size,a)});window.googletag.pubads().addEventListener("impressionViewable",function(a){WH.ads&&WH.ads.impressionViewable(a.slot)});window.ccpaOut&&window.googletag.pubads().setPrivacySettings({restrictDataProcessing:!0})})};if(WH.shared.isLargeSize&&window.dfpLarge||WH.shared.isSmallSize&&window.dfpSmall){!function(a,b,e,f,g,c,d){b[a]||(b[a]={init:function(){b[a]._Q.push(["i",arguments])},fetchBids:function(){b[a]._Q.push(["f",arguments])},setDisplayBids:function(){},targetingKeys:function(){return[]},_Q:[]},c=e.createElement(f),c.async=!0,c.src=g,d=e.getElementsByTagName(f)[0],d.parentNode.insertBefore(c,d))}("apstag",window,document,"script","//c.amazon-adsystem.com/aax2/apstag.js");var privacyValue=null,vrCACookie=document.cookie.indexOf("vr=US-CA");0<=vrCACookie&&(privacyValue="1YN");var ccpaCookie=document.cookie.indexOf("ccpa_out=");0<=ccpaCookie&&(privacyValue="1YY");privacyValue?apstag.init({pubID:"3271",adServer:"googletag",aps_privacy:
privacyValue}):apstag.init({pubID:"3271",adServer:"googletag"})};</script><style>.w_label:before{content:'Advertisement';}</style>
<script>(function(){var wh=window.WH=(window.WH||{}),ok=typeof window.addEventListener=='function',d=document,e='event_tracker_ready';wh.event=function(z,y){ok&&d.addEventListener(e,function(){wh.event(z,y)})}
wh.eventView=function(z,y,x,w,v,u){ok&&d.addEventListener(e,function(){wh.eventView(z,y,x,w,v,u)})}})();</script>
<!--[if lt IE 9]><script src="/load.php?debug=false&lang=en&modules=html5shiv&only=scripts&siterev=d2xZf&skin=wh&sync=1"></script><![endif]-->
</head>
<body class="mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject mw-editable page-Copy_Source_Code rootpage-Copy_Source_Code stable skin-minervawh action-view"><script>var dfpKeyVals = {"\/10095428\/engl\/engl_gam_lgm_rght2":{"refreshing":"1"}};
</script><script>WH.gaType = "mobile";
WH.gaID = "UA-2375655-1";
WH.gaConfig = {"extraPropertyIds":[],"v4PropertyId":null};
</script><div id="header_container" class="header_container" data-responsive="1"><div id="header" class="header" role="navigation"><a href="#" title="Open main menu" id="mw-mf-main-menu-button" class="mainmenu element main-menu-button"></a><div id="hamburger_dot"></div><a id="header_logo" href="/Main-Page"></a><div id="hs"><form action="/wikiHowTo" class="search" target="_top" id="search_form_top"><input id="hs_query" role="textbox" tabindex="0" name="search" aria-label="Search here" required="" placeholder="" x-webkit-speech=""><button type="submit" id="hs_submit"></button><div id="hs_close" role="button" tabindex="0"></div></form></div><ul id="actions" role="menubar" aria-label="Header navigation"><li id="nav_messages_li" class="nav_item" role="menuitem" aria-labelledby="nav_messages"><div class="nav_icon"></div><a id="nav_messages" class="nav" href="#">MESSAGES</a></li><li id="nav_profile_li" class="nav_item" role="menuitem" aria-labelledby="nav_profile"><div class="nav_icon"></div><a id="nav_profile" class="nav" href="#wh-dialog-login" rel="nofollow" data-link="#wh-dialog-login">LOG IN</a><div class="menu_login" role="menu">
<div name="userlogin" class="userlogin">
<h3>Log in</h3>
<div id='social-login-navbar' data-return-to=''>
<label class='social-disabled'>Social login does not work in incognito and private browsers. Please log in with your username or email to continue.</label>
<div id="fb_connect_head">
<a id="fb_login_head" href="#" role="button" class="ulb_button ulb_social_button loading" aria-label="Log in with Facebook">
<span class="ulb_icon"></span>
<span class="ulb_label">Facebook</span>
</a>
</div>
<div id="gplus_connect_head">
<a id="gplus_login_head" href="#" role="button" class="ulb_button ulb_social_button loading" aria-label="Log in with Google">
<span class="ulb_icon"></span>
<span class="ulb_label">Google</span>
</a>
</div>
</div>
<div>
<a href="#wh-dialog-login" role="button" id="wh_login_head" class="ulb_button ulb_login" aria-label="Log in"><span class="ulb_icon"></span><span class="ulb_label">wikiHow Account</span></a>
</div>
<div class="userlogin_links">
No account yet? <a href="/Special:UserLogin?type=signup">Create an account</a>
</div>
</div>
</div>
</li><li id="nav_explore_li" class="nav_item" role="menuitem" aria-labelledby="nav_explore"><div class="nav_icon"></div><a id="nav_explore" class="nav" href="#">EXPLORE</a><div class="menu" role="menu">
<a href="/Course/Explore" class="menuitem "
>
Courses
<span class="new_bubble">New</span>
</a>
<a href="/Tech-Help-Pro" class="menuitem "
>
Tech Skills
<span class="new_bubble">New</span>
</a>
<a href="/Special:Randomizer" class="menuitem "
>
Random Article
</a>
<a href="/wikiHow:About-wikiHow" class="menuitem "
>
About Us
</a>
<a href="/Special:CategoryListing" class="menuitem "
>
Categories
</a>
<a href="/Category:Arts-and-Entertainment" class="menuitem top_cat"
>
Arts and Entertainment
</a>
<a href="/Category:Cars-%26-Other-Vehicles" class="menuitem top_cat"
>
Cars & Other Vehicles
</a>
<a href="/Category:Computers-and-Electronics" class="menuitem top_cat"
>
Computers and Electronics
</a>
<a href="/Category:Education-and-Communications" class="menuitem top_cat"
>
Education and Communications
</a>
<a href="/Category:Family-Life" class="menuitem top_cat"
>
Family Life
</a>
<a href="/Category:Finance-and-Business" class="menuitem top_cat"
>
Finance and Business
</a>
<a href="/Category:Food-and-Entertaining" class="menuitem top_cat"
>
Food and Entertaining
</a>
<a href="/Category:Health" class="menuitem top_cat"
>
Health
</a>
<a href="/Category:Hobbies-and-Crafts" class="menuitem top_cat"
>
Hobbies and Crafts
</a>
<a href="/Category:Holidays-and-Traditions" class="menuitem top_cat"
>
Holidays and Traditions
</a>
<a href="/Category:Home-and-Garden" class="menuitem top_cat"
>
Home and Garden
</a>
<a href="/Category:Personal-Care-and-Style" class="menuitem top_cat"
>
Personal Care and Style
</a>
<a href="/Category:Pets-and-Animals" class="menuitem top_cat"
>
Pets and Animals
</a>
<a href="/Category:Philosophy-and-Religion" class="menuitem top_cat"
>
Philosophy and Religion
</a>
<a href="/Category:Relationships" class="menuitem top_cat"
>
Relationships
</a>
<a href="/Category:Sports-and-Fitness" class="menuitem top_cat"
>
Sports and Fitness
</a>
<a href="/Category:Travel" class="menuitem top_cat"
>
Travel
</a>
<a href="/Category:Work-World" class="menuitem top_cat"
>
Work World
</a>
<a href="/Category:Youth" class="menuitem top_cat"
>
Youth
</a>
</div>
</li><li id="nav_help_li" class="nav_item" role="menuitem" aria-labelledby="nav_help"><div class="nav_icon"></div><a id="nav_help" class="nav" href="#">HELP US</a><div class="menu" role="menu">
<a href="/Special:CommunityDashboard" class="menuitem "
>
Community Dashboard
</a>
<a href="/Special:CreatePage" class="menuitem "
>
Write an Article
</a>
<a href="/Special:RequestTopic" class="menuitem "
>
Request a New Article
</a>
<a href="/Special:CommunityDashboard" class="menuitem "
>
More Ideas...
</a>
</div>
</li><li id="nav_edit_li" class="nav_item" role="menuitem" aria-labelledby="nav_edit"><div class="nav_icon"></div><a id="nav_edit" class="nav" href="#wh-dialog-edit" rel="nofollow">EDIT</a><div class="menu" role="menu">
<a href="#wh-dialog-edit" class="menuitem "
rel=nofollow
>
Edit this Article
</a>
</div>
</li><li id="nav_pro_li" class="nav_item" role="menuitem" aria-labelledby="nav_pro"><div class="nav_icon"></div><div class="red_dot"></div><a id="nav_pro" class="nav" href="#"><div class="label">PRO</div></a><div class="menu" role="menu">
<a href="/Course/Explore" class="menuitem "
>
Courses
<span class="new_bubble">New</span>
</a>
<a href="/Tech-Help-Pro?id=techtips" class="menuitem "
id="menu-tech-help"
data-version="Tech Tips"
>
Tech Tips
<span class="new_bubble">New</span>
</a>
<a href="/Coaches?tab=dating" class="menuitem "
id="menu-coaches"
data-version="Get a Dating Coach"
>
Get a Dating Coach
<span class="new_bubble">New</span>
</a>
<a href="/wikiHow:Videos-wikiHowPro" class="menuitem "
>
Expert Videos
</a>
<a href="/Pro" class="menuitem "
>
About wikiHow Pro
</a>
<hr />
<a href="#wh-dialog-pro" class="menuitem upgrade"
rel=nofollow
>
Upgrade
</a>
<a href="#wh-dialog-login" class="menuitem sign_in"
rel=nofollow
>
Sign In
</a>
</div>
</li></ul></div></div><div id="header_container_small" class="header_container shrunk"></div><div id="header_top_watch"></div><div id="mw-mf-viewport"><div id="mw-mf-page-left"><ul id="mobile_menu"><li class="icon-home"><a href="/Main-Page">Home</a></li><li id="randomButton" class="icon-random"><a href="/Special:Randomizer">Random</a></li><li id="icon-categories" class="icon-categories"><a href="/Special:CategoryListing">Browse Articles</a></li><li id="icon-courses" class="icon-courses"><a href="/Course/Explore">Courses<span class="new_bubble">New</span></a></li><li id="icon-aboutwikihow" class="icon-aboutwikihow"><a href="/wikiHow:About-wikiHow">About wikiHow</a></li><li id="header2" class="side_header">Easy Ways to Help</li><li id="icon-sortquestions" class="icon-sortquestions"><a href="/Special:SortQuestions">Approve Questions</a></li><li id="icon-spellchecker" class="icon-spellchecker"><a href="/Special:MobileSpellchecker">Fix Spelling</a></li><li id="icon-quizyourself" class="icon-quizyourself"><a href="/Special:QuizYourself">Quiz App</a></li><li id="icon-morethings" class="icon-morethings"><a href="/Special:MobileCommunityDashboard">More Things to Try...</a></li></ul><ul><li class="icon-anon"><a href="#wh-dialog-login">Log in / Sign up</a></li></ul><div class="mw-mf-display-toggle"><a href="/wikiHow:Terms-of-Use" class="gdpr-menu">Terms of Use</a></div></div><div id="mw-mf-page-center"><div id="gdpr"><div id="gdpr_text"><span id="gdpr_text_inner">We use cookies to make wikiHow great. By using our site, you agree to our <a href="/wikiHow:Cookie-Policy" title="wikiHow:Cookie Policy">cookie policy</a>.</span><a id="gdpr_cp_link" href="/wikiHow:Cookie-Policy#eu_cookie_policy">Cookie Settings</a></div><div id="gdpr_accept_wrap"><div id="gdpr_accept" class="gdpr_button">Okay</div></div><div id="gdpr_close">✖</div></div><script>if(WH.gdpr){WH.gdpr.initialize();}</script><div id="trust_banner">
<div>
<a href="/wikiHow:Delivering-a-Trustworthy-Experience" target="_blank">
<span>wikiHow is where trusted research and expert knowledge come together. </span>Learn why people <b>trust wikiHow</b>
</a>
</div>
</div><div id="siteNotice"></div><div id="content_wrapper" role="main"><script>var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(c,e,g){c!=Array.prototype&&c!=Object.prototype&&(c[e]=g.value)};$jscomp.getGlobal=function(c){return"undefined"!=typeof window&&window===c?c:"undefined"!=typeof global&&null!=global?global:c};$jscomp.global=$jscomp.getGlobal(this);$jscomp.SYMBOL_PREFIX="jscomp_symbol_";$jscomp.initSymbol=function(){$jscomp.initSymbol=function(){};$jscomp.global.Symbol||($jscomp.global.Symbol=$jscomp.Symbol)};$jscomp.Symbol=function(){var c=0;return function(e){return $jscomp.SYMBOL_PREFIX+(e||"")+c++}}();$jscomp.initSymbolIterator=function(){$jscomp.initSymbol();var c=$jscomp.global.Symbol.iterator;c||(c=$jscomp.global.Symbol.iterator=$jscomp.global.Symbol("iterator"));"function"!=typeof Array.prototype[c]&&$jscomp.defineProperty(Array.prototype,c,{configurable:!
0,writable:!0,value:function(){return $jscomp.arrayIterator(this)}});$jscomp.initSymbolIterator=function(){}};$jscomp.initSymbolAsyncIterator=function(){$jscomp.initSymbol();var c=$jscomp.global.Symbol.asyncIterator;c||(c=$jscomp.global.Symbol.asyncIterator=$jscomp.global.Symbol("asyncIterator"));$jscomp.initSymbolAsyncIterator=function(){}};$jscomp.arrayIterator=function(c){var e=0;return $jscomp.iteratorPrototype(function(){return e<c.length?{done:!1,value:c[e++]}:{done:!0}})};$jscomp.iteratorPrototype=function(c){$jscomp.initSymbolIterator();c={next:c};c[$jscomp.global.Symbol.iterator]=function(){return this};return c};$jscomp.iteratorFromArray=function(c,e){$jscomp.initSymbolIterator();c instanceof String&&(c+="");var g=0,p={next:function(){if(g<c.length){var n=g++;return{value:e(n,c[n]),done:!1}}p.next=function(){return{done:!0,value:void 0}};return p.next()}};p[Symbol.iterator]=function(){return p};return p};$jscomp.polyfill=function(c,e,g,p){if(e){g=$jscomp.global;c=c.split(".")
;for(p=0;p<c.length-1;p++){var n=c[p];n in g||(g[n]={});g=g[n]}c=c[c.length-1];p=g[c];e=e(p);e!=p&&null!=e&&$jscomp.defineProperty(g,c,{configurable:!0,writable:!0,value:e})}};$jscomp.polyfill("Array.prototype.keys",function(c){return c?c:function(){return $jscomp.iteratorFromArray(this,function(c){return c})}},"es6","es3");$jscomp.polyfill("Object.is",function(c){return c?c:function(c,g){return c===g?0!==c||1/c===1/g:c!==c&&g!==g}},"es6","es3");$jscomp.polyfill("Array.prototype.includes",function(c){return c?c:function(c,g){var e=this;e instanceof String&&(e=String(e));var n=e.length;g=g||0;for(0>g&&(g=Math.max(g+n,0));g<n;g++){var t=e[g];if(t===c||Object.is(t,c))return!0}return!1}},"es7","es3");$jscomp.checkStringArgs=function(c,e,g){if(null==c)throw new TypeError("The 'this' value for String.prototype."+g+" must not be null or undefined");if(e instanceof RegExp)throw new TypeError("First argument to String.prototype."+g+" must not be a regular expression");return c+""};$jscomp.
polyfill("String.prototype.includes",function(c){return c?c:function(c,g){return-1!==$jscomp.checkStringArgs(this,c,"includes").indexOf(c,g||0)}},"es6","es3");$jscomp.findInternal=function(c,e,g){c instanceof String&&(c=String(c));for(var p=c.length,n=0;n<p;n++){var t=c[n];if(e.call(g,t,n,c))return{i:n,v:t}}return{i:-1,v:void 0}};$jscomp.polyfill("Array.prototype.find",function(c){return c?c:function(c,g){return $jscomp.findInternal(this,c,g).v}},"es6","es3");WH.ads=function(){function c(){return 0<=[1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24].indexOf(parseInt(window.bucketId))?!0:!1}function e(){var a=(new URLSearchParams(window.location.search)).get("forcebidder");if(a){k("prebid force bidder:",a);var b=[],d;for(d in u){var f=u[d],w=[],c;for(c in f.bids){var g=f.bids[c];g.bidder==a&&w.push(g)}0<w.length&&(f.bids=w,b.push(f))}k("prebid filtered adUnits",b);u=b}}function g(){var a=window.location.href,b="";0<a.indexOf("pwtv=")&&(a=/pwtv=(.*?)(&|$)/g.exec(a),2<=a.
length&&0<a[1].length&&(b="/"+a[1]));a=document.createElement("script");a.addEventListener("load",function(){1==window.pbjsloaded&&(k("pwt loaded second"),WH.event("pubmatic_ih",{pwtloaded:!0,pwt_first:!1}),K=!0,u.forEach(function(a){a.bids.forEach(function(a){a.userId=window.PWT.getUserIds();a.userIdAsEids=owpbjs.getUserIdsAsEids()})}))});a.async=!0;a.type="text/javascript";a.src="//ads.pubmatic.com/AdServer/js/pwt/159508/3580"+b+"/pwt.js";b=document.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)}function p(){if(1!=window.pbjsrequested){c()&&g();var a=document.createElement("script");a.async=!0;a.type="text/javascript";a.src="/load.php?modules=ext.wikihow.prebid43&only=scripts&v=1";var b=document.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b);window.pbjsrequested=!0;k("prebid js requested");window.pbjs.que.push(function(){k("prebid initializing prebid configuration and adding ad units");window.pbjsloaded=!0;window.pbjs.bidderSettings={triplelift:{
sendStandardTargeting:!0,adserverTargeting:[{key:"tl_source",val:function(a){return a.tl_source}}]},districtmDMX:{bidCpmAdjustment:function(a,b){return.9*a}}};var a={enableSendAllBids:!1,priceGranularity:P};24==window.bucketId&&Q()&&(a={enableSendAllBids:!1,priceGranularity:P,s2sConfig:[{accountId:"1",bidders:["pubmatic"],adapter:"prebidServer",enabled:!0,endpoint:"https://bid.wikihow.com/openrtb2/auction",syncEndpoint:"https://bid.wikihow.com/cookie_sync",timeout:500}]});k("prebid useBidCache",!0);a.useBidCache=!0;e();pbjs.setConfig(a);c()&&window.PWT&&"function"==typeof window.PWT.getUserIds&&(k("pwt loaded first"),WH.event("pubmatic_ih",{pwtloaded:!0,pwt_first:!0}),K=!0,u.forEach(function(a){a.bids.forEach(function(a){a.userId=window.PWT.getUserIds();a.userIdAsEids=owpbjs.getUserIdsAsEids()})}));window.pbjs.addAdUnits(u)})}}function n(a){k("pbRequestBids",a.adTargetId,a.adunitpath);c()&&0==K&&WH.event("pubmatic_ih",{pwtloaded:!1,pwt_first:!0});a.pbTimedOut=!1;a.last_pb_request_time=
(new Date).getTime();window.pbjs.requestBids({adUnitCodes:[a.adunitpath],timeout:1E3,bidsBackHandler:function(b,d){a.pbTimedOut=d;var f=Object.keys(b)[0];"undefined"!=typeof f&&(k("pbRequestBids result",a.adTargetId,b[f],", timedOut:",d),window.pbjs.setTargetingForGPTAsync([a.adunitpath]));a.pbTargetingAdded=!0;1==a.apsDisplayBidsCalled||0==a.apsload?(k("pbRequestBids: done and aps targeting done (or inactive). will load ad",a.adTargetId),F(a)):k("pbRequestBids: done. waiting on aps bid",a.adTargetId)}})}function t(a){window.pbjs.que.push(function(){n(a)})}function da(a){a=a.slot;var b=a.getSlotId().getDomId();if(y&&y.adTargetId==b)return y;for(b=0;b<m.length;b++){var d=m[b];if(l[d.adTargetId]==a)return d}for(b in q)if(d=q[b],l[d.adTargetId]==a)return d;for(b in z)if(d=z[b],l[d.adTargetId]==a)return d;return null}function k(){-1!=window.location.href.indexOf("adslog=1")&&console.log.apply(console,arguments)}function Q(){if(-1!=window.location.href.indexOf("adsraw=1"))return!0}function
ea(){var a=!1;null!=document.hidden?a=document.hidden:null!=document.mozHidden?a=document.mozHidden:null!=document.webkitHidden?a=document.webkitHidden:null!=document.msHidden&&(a=document.msHidden);return a}function fa(a,b,d){k("apsFetchBids:",d.adTargetId);d.apsTimeout||console.warn("ad has no timeout value",d);for(var f=[],c=0;c<b.length;c++)f.push(l[b[c]]);apstag.fetchBids({slots:a,timeout:d.apsTimeout},function(a){window.googletag.cmd.push(function(){apstag.setDisplayBids();d.apsDisplayBidsCalled=!0;d.pbload?1==d.pbTargetingAdded?(k("apsFetchBids: done. pb targeting also done. will load ad",d.adTargetId),F(d)):k("apsFetchBids: done. waiting for prebid bids",d.adTargetId):(k("apsFetchBids: done will load ad",d.adTargetId),F(d))})})}function R(a){var b=window.location.href;a=a.replace(/[\[\]]/g,"\\$&");return(a=(new RegExp("[?&]"+a+"(=([^&#]*)|&|#|$)")).exec(b))?a[2]?decodeURIComponent(a[2].replace(/\+/g," ")):"":null}function F(a){k("setDFPTargetingAndRefresh",a.adTargetId);var b=l
[a.adTargetId];setDFPTargeting(b,dfpKeyVals);b.getTargetingMap();a.pbload&&(a.insertSlotValue&&b.setTargeting("slot",a.insertSlotValue),a=b.getTargetingMap().hb_pb,"undefined"!=typeof a&&"undefined"!=typeof a[0]&&(a=(new URLSearchParams(window.location.search)).get("forceprice"))&&(k("setDFPTargetingAndRefresh: updating bid price on hb_pb for testing",a),b.setTargeting("hb_pb",a)),a=b.getTargetingMap().hb_bidder,"undefined"!=typeof a&&"triplelift"!=a[0]&&b.clearTargeting("tl_source"));-1!=window.location.href.indexOf("amzntest=1")&&(b.clearTargeting("amzniid"),b.clearTargeting("amznsz"),b.setTargeting("amznp",2),b.setTargeting("amznbid",2),b.clearTargeting("hb_adid"),b.clearTargeting("hb_bidder"),b.clearTargeting("hb_format"),b.clearTargeting("hb_pb"),b.clearTargeting("hb_size"),b.clearTargeting("hb_source"),b.clearTargeting("tl_source"));(a=R("testad"))&&b.setTargeting("testad",a);G&&WH.event("gpt_request",{bucket:window.bucketId});window.googletag.pubads().refresh([b])}function H(a){
for(var b=a.adTargetId,d=l[b].getAdUnitPath(),f=l[b].getSizes(),c=[],g=0;g<f.length;g++){var k=[];k.push(f[g].getWidth());k.push(f[g].getHeight());c.push(k)}fa([{slotID:b,slotName:d,sizes:c}],[b],a)}function S(a,b,d){l[a]&&dfpKeyVals[l[a].getAdUnitPath()]&&(dfpKeyVals[l[a].getAdUnitPath()][b]=d)}function ha(a){var b=a.adTargetId,d=a.gptLateLoad,f=a.getRefreshValue();window.googletag.cmd.push(function(){d&&window.googletag.display(b);S(b,"refreshing",f);setDFPTargeting(l[b],dfpKeyVals);var a=R("testad");a&&l[b].setTargeting("testad",a);G&&WH.event("gpt_request",{bucket:window.bucketId});window.googletag.pubads().refresh([l[b]])})}function ia(a){var b=window.document.createElement("script");b.async=!0;b.type="text/javascript";b.src=a.adElement.getAttribute("data-scriptsrc");b.setAttribute("data-divid",a.adTargetId);b.setAttribute("data-adslot","demo_optout");b.setAttribute("data-adsizes","300x250");window.document.getElementById(a.adTargetId).appendChild(b)}function T(a){k(
"inserting adsense ad",a.type);var b=window.document.createElement("ins");b.setAttribute("data-ad-client","ca-pub-9543332082073187");a.adLabelClass?b.setAttribute("class","adsbygoogle "+a.adLabelClass):b.setAttribute("class","adsbygoogle");var d=a.slot;if(d){b.setAttribute("data-ad-slot",d);d=null;var f=0<=document.cookie.indexOf("ccpa_out=")?!0:!1;f?(b.setAttribute("data-restrict-data-processing",1),"intro"==a.type&&(d=2385774741)):"intro"==a.type&&(d=2001974826);a.adElement.getAttribute("data-ad-format")&&b.setAttribute("data-ad-format",a.adElement.getAttribute("data-ad-format"));a.adElement.getAttribute("data-full-width-responsive")&&b.setAttribute("data-full-width-responsive",a.adElement.getAttribute("data-full-width-responsive"));WH.shared.isSmallSize&&a.adElement.getAttribute("data-full-width-intro")&&(a.width=document.documentElement.clientWidth);"middlerelated"==a.type&&(b.setAttribute("data-ad-format","fluid"),b.setAttribute("data-ad-layout-key","-fb+5w+4e-db+86"));f=0;var c=
document.getElementById("mw-content-text");c&&(f=c.offsetWidth);"medium"==a.adSize&&700>f||("medium"==a.adSize&&728>f&&(a.width=f),f="display:inline-block;width:"+a.width+"px;height:"+a.height+"px;",c=["method","qa","tips","warnings"],"small"==a.adSize&&c.includes(a.type)&&(f="display:block;height:"+a.height+"px;"),b.style.cssText=f,a.adTargetId&&(window.document.getElementById(a.adTargetId).appendChild(b),a.channels&&(d=d?a.channels+","+d:a.channels),d||(d=""),"undefined"===typeof adsbygoogle&&(window.adsbygoogle=[]),a.nonPersonalized&&((window.adsbygoogle=window.adsbygoogle||[]).requestNonPersonalizedAds=1),(window.adsbygoogle=window.adsbygoogle||[]).push({params:{google_ad_channel:d}})))}}function ja(a){var b=document.documentElement.clientWidth;switch(a){case"intro":b-=30;break;case"method":b-=20;break;case"related":b-=14;break;default:b-=20}return b}function U(a,b){for(var d=[],f=0;f<a.length;f++){var c=a[f];c[0]<=b&&d.push(c)}return d}function ka(a){var b=document.getElementById(
"content_wrapper"),d=b.getBoundingClientRect();b=parseFloat(window.getComputedStyle(b,null).getPropertyValue("padding-left"));"dfp"==a.service?(d=d.left+b,326<d||(185<d?a.sizesArray=U(a.sizesArray,160):130<d?a.sizesArray=U(a.sizesArray,120):a.okForSize=!1)):89>d.left?a.okForSize=!1:250>d.left&&(a.width=d.left+30)}function V(a){var b=a.parentElement;this.element=a;this.adElement=b;this.height=this.adElement.offsetHeight;this.adTargetId=a.id;a=1==this.adElement.getAttribute("data-small");var d=1==this.adElement.getAttribute("data-medium"),f=1==this.adElement.getAttribute("data-large");this.okForSize=!1;if(a&&WH.shared.isSmallSize||d&&WH.shared.isMedSize||f&&WH.shared.isLargeSize)this.okForSize=!0;var c=window.navigator.userAgent.toLowerCase();/safari/.test(c);/iphone|ipod|ipad/.test(c);this.type=this.adElement.getAttribute("data-type");this.width=this.adElement.getAttribute("data-width");this.service=this.adElement.getAttribute("data-service");if(this.sizesArray=this.adElement.
getAttribute("data-size"))this.sizesArray=JSON.parse(this.sizesArray);"leftrail"==this.type&&ka(this);"intro"==this.type&&0<r.length&&0==r[0].disabled&&(this.okForSize=!1);this.disabled=!1;if(this.okForSize){this.adElement.classList.add("wh_ad_active");this.questionsPage=1==this.adElement.getAttribute("data-questionspage");this.gptLateLoad=1==this.adElement.getAttribute("data-lateload");this.apsload=1==this.adElement.getAttribute("data-apsload");this.apsDisplayBidsCalled=!1;var g=this.adElement.getAttribute("data-adunitpath");if(this.pbload=1==this.adElement.getAttribute("data-prebidload")){var e=!1;u.forEach(function(a){a.code==g&&(e=!0)});0==e&&(this.pbload=!1,k("ad set up for prebid but not found in bids list. will set prebid to false for",g))}this.pbTargetingAdded=!1;this.last_hb_adid=null;this.insertSlotValue=this.adElement.getAttribute("data-insertslotvalue");this.insertPosition=0;if("true"==window.isCoppa||window.ccpaOut)this.pbload=!1;W?(this.pbload=!1,this.nonPersonalized=!0):
this.nonPersonalized=!1;this.slot=this.adElement.getAttribute("data-slot");this.adunitpath=this.adElement.getAttribute("data-adunitpath");this.channels=this.adElement.getAttribute("data-channels");this.mobileChannels=this.adElement.getAttribute("data-mobilechannels");this.refreshable=1==this.adElement.getAttribute("data-refreshable");this.emptyLogging=1==this.adElement.getAttribute("data-emptylogging");this.slotName=this.adElement.getAttribute("data-slot-name");this.refreshType=this.adElement.getAttribute("data-refresh-type");this.last_pb_request_time=0;this.dfpdisplaylate=1==this.adElement.getAttribute("data-gptdisplaylate");if("rightrail"==this.type||"leftrail"==this.type)this.position="initial";this.notfixedposition=1==this.adElement.getAttribute("data-notfixedposition");this.viewablerefresh=1==this.adElement.getAttribute("data-viewablerefresh");this.renderrefresh=1==this.adElement.getAttribute("data-renderrefresh");this.height=this.adElement.getAttribute("data-height");this.
lastRRAd=1==this.adElement.getAttribute("data-lastrrad");a&&WH.shared.isSmallSize&&(this.adSize="small",this.channels=this.mobileChannels,this.smallchannels=this.adElement.getAttribute("data-smallchannels"),this.channels=this.channels?this.channels+","+this.smallchannels:this.smallchannels,this.slot=this.adElement.getAttribute("data-smallslot")||this.slot,this.height=this.adElement.getAttribute("data-smallheight")||this.height,this.width=ja(this.type),this.service=this.adElement.getAttribute("data-smallservice")||this.service);d&&WH.shared.isMedSize&&(this.element.className=this.element.className?this.element.className+" medium_a":"medium_a",this.adSize="medium",this.slot=this.adElement.getAttribute("data-mediumslot")||this.slot,this.height=this.adElement.getAttribute("data-mediumslot")||this.height,this.width=this.adElement.getAttribute("data-mediumwidth")||this.width,this.service=this.adElement.getAttribute("data-mediumservice")||this.service,this.channels=this.mediumChannels=this.
adElement.getAttribute("data-mediumchannels"));f&&WH.shared.isLargeSize&&(this.adSize="large",this.channels=this.largeChannels=this.adElement.getAttribute("data-largechannels"));"adsense"!=this.service||this.slot?(this.instantLoad=1==this.adElement.getAttribute("data-instantload"),"intro"==this.type&&"small"!=this.adSize&&L()&&(this.instantLoad=!1,this.service="dfp",this.height=90,this.element.style.height="90px",this.adElement.style.height="90px"),"intro"==this.type&&L()&&"small"!=this.adSize&&!L()&&(this.channels=this.channels?this.channels+",5517265073":"5517265073"),this.adLabelClass=this.adElement.getAttribute("data-adlabelclass"),this.apsTimeout=this.adElement.getAttribute("data-aps-timeout"),this.refreshtimeout=!1,this.refreshNumber=1,this.maxRefresh=this.adElement.getAttribute("data-max-refresh"),this.refreshTime=(this.refreshTime=this.adElement.getAttribute("data-refresh-time"))?parseInt(this.refreshTime):3E4,this.firstRefresh=!0,this.firstRefreshTime=(this.firstRefreshTime=
this.adElement.getAttribute("data-first-refresh-time"))?parseInt(this.firstRefreshTime):this.refreshTime,this.useScrollLoader=!0,this.observerLoading=1==this.adElement.getAttribute("data-observerloading"),this.getRefreshTime=function(){return 1==this.firstRefresh?(this.firstRefresh=!1,this.firstRefreshTime):this.refreshTime},this.getRefreshValue=function(){if(0==this.refreshNumber&&!this.refreshable)return"not";this.refreshNumber++;return 20<this.refreshNumber?"max":this.refreshNumber.toString()},this.load=function(){var a=1==this.adElement.getAttribute("data-small"),b=1==this.adElement.getAttribute("data-medium"),d=1==this.adElement.getAttribute("data-large"),f=!1;if(a&&WH.shared.isSmallSize||b&&WH.shared.isMedSize||d&&WH.shared.isLargeSize)f=!0;if(!f)this.disabled=!0;else if(!("undefined"!=typeof WH.gdpr&&WH.gdpr.isEULocation()&&WH.gdpr.hasCookiePolicyPageOptOut()||1==this.isLoaded)){if("dfp"==this.service){"small"!=this.adSize&&0<this.height&&(this.element.style.minHeight=this.
height+"px");c&&(k("clearing kvp for ad",this.adTargetId),c.clearTargeting());if(this.apsload){var c=l[this.adTargetId],w=this;c?H(w):window.googletag.cmd.push(function(){H(w)})}this.pbload&&t(this);this.apsload||this.pbload||ha(this)}else"dfplight"==this.service?insertDFPLightAd(this):"optout"==this.service?ia(this):T(this);this.isLoaded=!0}},this.refresh=function(){var a=this;if(ea())k("refresh: doc hidden"),setTimeout(function(){a.refresh()},5E3);else{this.lastRefreshScrollY=window.scrollY;var b=window.innerHeight||document.documentElement.clientHeight,d=this.element.getBoundingClientRect();if(A(d,b,!1,a))if(b=this.getRefreshValue(),this.maxRefresh&&b>this.maxRefresh)k("max refreshes reached returning"),this.refreshable=!1;else{if("adsense"!=this.service&&S(this.adTargetId,"refreshing",b),this.apsload&&H(this),this.pbload&&t(this),!this.apsload&&!this.pbload){var f=this.adTargetId;window.googletag.cmd.push(function(){setDFPTargeting(l[f],dfpKeyVals);G&&WH.event("gpt_request",{bucket
:window.bucketId});window.googletag.pubads().refresh([l[f]])})}}else setTimeout(function(){a.refresh()},5E3)}},this.show=function(){this.adElement.style.display="block"},this.instantLoad&&"adsense"==this.service&&this.load()):(this.disabled=!0,b.style.display="none")}else this.disabled=!0,b.parentElement.removeChild(b),b.style.display="none"}function X(a){V.call(this,a)}function la(a){V.call(this,a);a.parentElement.style.display="none";this.scrollToTimer=null;this.slotRendered=!0;this.lastScrollPositionY=0;this.maxNonSteps=parseInt(this.adElement.getAttribute("data-maxnonsteps"));this.maxSteps=parseInt(this.adElement.getAttribute("data-maxsteps"));this.maxDFP=null;this.adElement.getAttribute("data-maxdfp")&&(this.maxDFP=parseInt(this.adElement.getAttribute("data-maxdfp")));this.noStepsAds=!1;0<document.getElementsByClassName("questions_as_methods_articles").length&&(this.noStepsAds=!0);this.updateVisibility=function(){if(0==this.slotRendered)k(
"updateVisibility: will not try to insert scrollto ad because prev render is not done");else if(1>this.maxNonSteps&&1>this.maxSteps)B&&(window.removeEventListener("scroll",B),B=null);else if(this.lastScrollPositionY=window.scrollY,10<this.lastScrollPositionY){null!==this.scrollToTimer&&clearTimeout(this.scrollToTimer);var a=this;this.scrollToTimer=setTimeout(function(){a.load()},1E3)}};this.load=function(){if((window.innerWidth||document.documentElement.clientWidth)<WH.mediumScreenMinWidth)this.maxSteps=this.maxNonSteps=0;else if("undefined"==typeof WH.gdpr||!WH.gdpr.isEULocation()||WH.gdpr.hasAcceptCookie()){a:{var a=window.innerHeight||document.documentElement.clientHeight;var d=document.getElementsByClassName("section"),f=!1;this.questionsPage&&(f=!0,d=document.getElementsByClassName("qa_aq"));for(var c=null,g=!1,k=0;k<d.length;k++)if(!(f&&k%2)){var e=d[k];if("aiinfo"!=e.id&&!e.classList.contains("bss_share_container")&&!e.classList.contains("tips")&&!e.classList.contains(
"references")){if(1==g){var h=e.getElementsByClassName("section_text");if(!h.length&&!f){a=null;break a}f||(e=h[h.length-1]);if("references_second"==e.id)continue;h=e.getBoundingClientRect();if(h.bottom>=screenTop&&h.bottom<=a)continue;c=e;break}if("intro"!=e.id){if(e.classList.contains("steps")&&!this.noStepsAds){h=e.getElementsByClassName("steps_list_2");if(!h||!h[0])continue;e=a;h=h[0].childNodes;for(var l=null,m=0;m<h.length;m++){var n=h[m];if("LI"==n.nodeName){var p=n.getBoundingClientRect();if(A(p,e,!1,this)&&!(p.bottom>=screenTop&&p.bottom<=e)){l=n;break}}}e=l;if(!e)continue;c=e;break}if((h=e.getElementsByClassName("section_text"))&&h[0]||f)if(f||(e=h[0]),h=e.getBoundingClientRect(),A(h,a,!1,this))if(h.bottom>=screenTop&&h.bottom<=a)g=!0;else{c=e;break}}}}a=c}a&&(d="LI"==a.tagName,d&&1>this.maxSteps||!d&&1>this.maxNonSteps||(f=a.getElementsByTagName("INS"),0<f.length||(f=a.getElementsByClassName("wh_ad_active"),0<f.length||(0<a.getElementsByClassName("addTipElement").length&&a.
classList.add("has_scrolltoad"),f=document.createElement("div"),c=document.createElement("div"),this.height&&(f.style.minHeight=this.height+"px"),c.id=this.adTargetId,f.className="wh_ad_inner wh_ad_active wh_ad_spacing",f.className+=" w_label al_grey al_t",f.appendChild(c),a.appendChild(f),this.insertPosition=a.id,this.insertSlotValue=10<C?"0"+C:"00"+C,C++,this.element.id="scrollto_ad_"+C,d?this.maxSteps--:this.maxNonSteps--,"dfp"==this.service&&this.slot&&0==this.maxDFP&&(this.service="adsense"),null!=this.maxDFP&&0<this.maxDFP&&this.maxDFP--,ma(this)))))}}}function na(a){var b=document.getElementById("scrollto-promo"),d=b.getAttribute("data-promos"),f=JSON.parse(d);d=f.pop();b.setAttribute("data-promos",JSON.stringify(f));b=document.createElement("a");b.setAttribute("href",d.url);f=a.adTargetId+"_a";b.id=f;var c=document.createElement("img");c.setAttribute("loading","lazy");c.setAttribute("width",728);c.setAttribute("height",90);c.setAttribute("src",d.src);b.appendChild(c);c=document
.getElementById(a.adTargetId);c.appendChild(b);c.style.width="728px";document.getElementById(a.adTargetId).appendChild(b);M&&WH.event("article_promo_house_image_load_go_sc",{ad_unit:"scrollto",img_name:d.name});WH.eventView("article_promo_house_scrollto_click_go_sc",{course_name:d.course_name,dest_url:d.url},"#"+f,"click");a.adTargetId=a.element.id;a.slotRendered=!0}function ma(a){"house"==a.service?na(a):"dfp"==a.service?(a.slotRendered=!1,window.googletag.cmd.push(function(){k("defining new ad slot",a.adTargetId);l[a.adTargetId]=window.googletag.defineSlot(a.adunitpath,a.sizesArray,a.adTargetId);l[a.adTargetId].addService(window.googletag.pubads());l[a.adTargetId].clearTargeting();l[a.adTargetId].setTargeting("slot",a.insertSlotValue);window.googletag.display(a.adTargetId);a.apsload&&H(a);a.pbload&&t(a);a.pbload||a.apsload||F(a)})):(T(a),a.adTargetId=a.element.id,a.slotRendered=!0)}function A(a,b,d,c){var f=D;d&&(d=b,c instanceof X&&(d=2*b),f=0-d,b+=d);return a.top>=f&&a.top<=b||a.
bottom>=f&&a.bottom<=b||a.top<=f&&a.bottom>=b||c.last&&a.top<=f?!0:!1}function Y(a,b){if(!a.isLoaded&&0!=a.useScrollLoader){var d=a.element.getBoundingClientRect();A(d,b,!0,a)&&a.load()}}function Z(a,b){if(!I){var d=a.adElement.getBoundingClientRect();if(!A(d,b,!1,a))return"fixed"==a.position&&(a.element.style.position="absolute",a.element.style.top="0",a.element.style.bottom="auto",a.position="top"),d.height;b=D+parseInt(a.height);if(d.bottom<b&&!a.last)"bottom"!=a.position&&(a.element.style.position="absolute",a.element.style.top="auto",a.element.style.bottom="0",a.position="bottom");else if(d.top<=D){"fixed"!=a.position&&(a.element.style.position="fixed",a.isFixed=!0,a.position="fixed");b=D;if(a.last){var c=window.scrollY+D+parseInt(a.height),e=document.documentElement.scrollHeight-N;c>e&&(b-=c-e)}a.element.style.top=b+"px"}else"top"!=a.position&&(a.element.style.position="absolute",a.element.style.top="0",a.element.style.bottom="auto",a.position="top");return d.height}}function oa(
){for(var a=window.innerHeight||document.documentElement.clientHeight,b=[],d=0;d<m.length;d++){var c=m[d];c.notfixedposition||(b[d]=Z(c,a))}a=m;if(WH.shared.isLargeSize&&!(aa||40<=ba||"complete"!=document.readyState)){ba++;d=0;if(c=document.getElementById("sidebar"))d=c.offsetHeight;c=0;var e=document.getElementById("article");e&&(c=e.offsetHeight);if(0<c&&0<d&&d>c){c=parseInt((d-c+10)/3);e=!1;for(d=0;d<a.length;d++){var g=b[d]-c;if(600>g){e=!0;break}a[d].element.style.height=g+"px"}if(1==e){for(d=1;d<a.length;d++)b=a[d].element,b.parentElement.removeChild(b);a.length=1}aa=!0}}}function O(){for(var a=!0,b=window.innerHeight||document.documentElement.clientHeight,d=0;d<m.length;d++){var c=m[d];c.isLoaded||(a=!1,Y(c,b))}for(d in q)c=q[d],c.isLoaded||(a=!1,Y(c,b));a&&(window.removeEventListener("scroll",J),J=null)}function pa(){y.updateVisibility()}function L(){if(null!==E)return E;var a=("; "+document.cookie).split("; vr="),b=null;2==a.length&&(b=a.pop().split(";").shift());a=window.
location.href;-1==a.indexOf("?EUintrotest=")&&-1==a.indexOf("&EUintrotest=")||(b="ES-A");if(!b)return E=!1;a=["^ES","^FR","^DE","^RU","^IT"];for(var d in a)if(b.match(a[d]))return E=!0;return E=!1}var m=[],r=[],l=[],aa=!1,ba=0,z={},y,C=1,x,q={},J=null,B=null,ca=null,D=WH.shared.TOP_MENU_HEIGHT,N=114,v=null,qa="0px 0px "+2*(window.innerHeight||document.documentElement.clientHeight)+"px 0px",E=null,ra=parseInt(1E5*Math.random()).toString(),W=!1,I=!1;window.CSS&&window.CSS.supports&&window.CSS.supports("position","sticky")&&(I=!0);var K=!1,G=!1;0==Math.floor(100*Math.random())&&(G=!0);var M=!1;0==Math.floor(100*Math.random())&&(M=!0);"undefined"!==typeof WH.gdpr&&WH.gdpr.isEULocation()&&(W=!0);window.googletag=window.googletag||{};window.googletag.cmd=window.googletag.cmd||[];var P={buckets:[{precision:2,max:3,increment:.01},{precision:2,max:8,increment:.05},{precision:2,max:20,increment:.5},{precision:2,max:45,increment:1}]},u=[{code:"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner
:{sizes:[300,250]}},bids:[{bidder:"appnexus",params:{placementId:19512203}}]},{code:"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner:{sizes:[300,600]}},bids:[{bidder:"appnexus",params:{placementId:19512204}}]},{code:"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner:{sizes:[120,600]}},bids:[{bidder:"appnexus",params:{placementId:19512206}}]},{code:"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner:{sizes:[160,600]}},bids:[{bidder:"appnexus",params:{placementId:19512207}}]},{code:"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner:{sizes:[300,250]}},bids:[{bidder:"pubmatic",params:{publisherId:"159508",adSlot:"2946786"}}]},{code:"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner:{sizes:[300,600]}},bids:[{bidder:"pubmatic",params:{publisherId:"159508",adSlot:"2946788"}}]},{code:"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner:{sizes:[120,600]}},bids:[{bidder:"pubmatic",params:{publisherId:"159508",adSlot:"2946816"}}]},{code:"/10095428/engl/engl_gam_lgm_rght2",
mediaTypes:{banner:{sizes:[160,600]}},bids:[{bidder:"pubmatic",params:{publisherId:"159508",adSlot:"2946817"}}]},{code:"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner:{sizes:[[300,250],[300,600],[120,600],[160,600]]}},bids:[{bidder:"rubicon",params:{accountId:"15274",zoneId:"1753132",siteId:"333816"}},{bidder:"triplelift",params:{inventoryCode:"Wikihow_engl_gam_lgm_rght2_Prebid"}},{bidder:"districtm",params:{placementId:"19511756"}},{bidder:"districtmDMX",params:{dmxid:529251,memberid:100369}}]},{code:"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner:{sizes:[300,250]}},bids:[{bidder:"ix",params:{siteId:"531042",size:[300,250]}}]},{code:"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner:{sizes:[300,600]}},bids:[{bidder:"ix",params:{siteId:"531043",size:[300,600]}}]},{code:"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner:{sizes:[120,600]}},bids:[{bidder:"ix",params:{siteId:"531044",size:[120,600]}}]},{code:"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner:{
sizes:[160,600]}},bids:[{bidder:"ix",params:{siteId:"531045",size:[160,600]}}]},{code:"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner:{sizes:[300,250]}},bids:[{bidder:"openx",params:{unit:"541138158",delDomain:"wikihow-d.openx.net"}}]},{code:"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner:{sizes:[300,600]}},bids:[{bidder:"openx",params:{unit:"541138159",delDomain:"wikihow-d.openx.net"}}]},{code:"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner:{sizes:[120,600]}},bids:[{bidder:"openx",params:{unit:"541138160",delDomain:"wikihow-d.openx.net"}}]},{code:"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner:{sizes:[160,600]}},bids:[{bidder:"openx",params:{unit:"541138161",delDomain:"wikihow-d.openx.net"}}]},{code:"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner:{sizes:[300,250]}},bids:[{bidder:"sovrn",params:{tagid:"741351"}}]},{code:"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner:{sizes:[300,600]}},bids:[{bidder:"sovrn",params:{tagid:"741352"}}]},{code:
"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner:{sizes:[120,600]}},bids:[{bidder:"sovrn",params:{tagid:"741353"}}]},{code:"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner:{sizes:[160,600]}},bids:[{bidder:"sovrn",params:{tagid:"741354"}}]},{code:"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner:{sizes:[300,250]}},bids:[{bidder:"onemobile",params:{pos:"8a96954f01747430358b365407b70330",dcn:"8a96954f01747430358b3651f057032b"}}]},{code:"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner:{sizes:[300,600]}},bids:[{bidder:"onemobile",params:{pos:"8a96954f01747430358b36549b1d0332",dcn:"8a96954f01747430358b3651f057032b"}}]},{code:"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner:{sizes:[120,600]}},bids:[{bidder:"onemobile",params:{pos:"8a96954f01747430358b3654d1b40333",dcn:"8a96954f01747430358b3651f057032b"}}]},{code:"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner:{sizes:[160,600]}},bids:[{bidder:"onemobile",params:{pos:"8a96954f01747430358b3653c5d0032f",dcn:
"8a96954f01747430358b3651f057032b"}}]},{code:"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner:{sizes:[300,250]}},bids:[{bidder:"yieldmo",params:{placementId:"2508866731389165650"}}]},{code:"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner:{sizes:[300,600]}},bids:[{bidder:"yieldmo",params:{placementId:"2508866731498217555"}}]},{code:"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner:{sizes:[120,600]}},bids:[{bidder:"yieldmo",params:{placementId:"2508866731573715028"}}]},{code:"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner:{sizes:[160,600]}},bids:[{bidder:"yieldmo",params:{placementId:"2508866731657601109"}}]},{code:"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner:{sizes:[160,600]}},bids:[{bidder:"sharethrough",params:{pkey:"TEFyg552FA0rWm8WyfBGUjyZ",iframeSize:[160,600]}}]},{code:"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner:{sizes:[300,250]}},bids:[{bidder:"sharethrough",params:{pkey:"QdqFVSPLRV5oZNThNKyH9cpm",iframeSize:[300,250]}}]},{code:
"/10095428/engl/engl_gam_lgm_rght2",mediaTypes:{banner:{sizes:[300,600]}},bids:[{bidder:"sharethrough",params:{pkey:"iclw8Nduh0yGDBIML8Fh0I08",iframeSize:[300,600]}}]},{code:"/10095428/engl/engl_gam_lgm_left1",mediaTypes:{banner:{sizes:[300,250]}},bids:[{bidder:"appnexus",params:{placementId:22014197}}]},{code:"/10095428/engl/engl_gam_lgm_left1",mediaTypes:{banner:{sizes:[300,600]}},bids:[{bidder:"appnexus",params:{placementId:22014199}}]},{code:"/10095428/engl/engl_gam_lgm_left1",mediaTypes:{banner:{sizes:[120,600]}},bids:[{bidder:"appnexus",params:{placementId:22014202}}]},{code:"/10095428/engl/engl_gam_lgm_left1",mediaTypes:{banner:{sizes:[160,600]}},bids:[{bidder:"appnexus",params:{placementId:22014200}}]},{code:"/10095428/engl/engl_gam_lgm_left1",mediaTypes:{banner:{sizes:[300,250]}},bids:[{bidder:"yieldmo",params:{placementId:"2787128456846974977"}}]},{code:"/10095428/engl/engl_gam_lgm_left1",mediatypes:{banner:{sizes:[300,600]}},bids:[{bidder:"yieldmo",params:{placementId:
"2787128457216073730"}}]},{code:"/10095428/engl/engl_gam_lgm_left1",mediaTypes:{banner:{sizes:[120,600]}},bids:[{bidder:"yieldmo",params:{placementId:"2787128457945882628"}}]},{code:"/10095428/engl/engl_gam_lgm_left1",mediaTypes:{banner:{sizes:[160,600]}},bids:[{bidder:"yieldmo",params:{placementId:"2787128457484509187"}}]},{code:"/10095428/engl/engl_gam_lgm_left1",mediaTypes:{banner:{sizes:[300,250]}},bids:[{bidder:"pubmatic",params:{publisherId:"159508",adSlot:"3920747"}}]},{code:"/10095428/engl/engl_gam_lgm_left1",mediaTypes:{banner:{sizes:[300,600]}},bids:[{bidder:"pubmatic",params:{publisherId:"159508",adSlot:"3920748"}}]},{code:"/10095428/engl/engl_gam_lgm_left1",mediaTypes:{banner:{sizes:[120,600]}},bids:[{bidder:"pubmatic",params:{publisherId:"159508",adSlot:"3920750"}}]},{code:"/10095428/engl/engl_gam_lgm_left1",mediaTypes:{banner:{sizes:[160,600]}},bids:[{bidder:"pubmatic",params:{publisherId:"159508",adSlot:"3920749"}}]},{code:"/10095428/engl/engl_gam_lgm_left1",mediaTypes:{
banner:{sizes:[[300,250],[300,600],[120,600],[160,600]]}},bids:[{bidder:"rubicon",params:{accountId:"15274",zoneId:"2111136",siteId:"333816"}},{bidder:"triplelift",params:{inventoryCode:"Wikihow_engl_gam_lgm_left1_Prebid"}}]},{code:"/10095428/engl/engl_gam_lgm_left1",mediaTypes:{banner:{sizes:[300,250]}},bids:[{bidder:"ix",params:{siteId:"689100",size:[300,250]}}]},{code:"/10095428/engl/engl_gam_lgm_left1",mediaTypes:{banner:{sizes:[300,600]}},bids:[{bidder:"ix",params:{siteId:"689101",size:[300,600]}}]},{code:"/10095428/engl/engl_gam_lgm_left1",mediaTypes:{banner:{sizes:[120,600]}},bids:[{bidder:"ix",params:{siteId:"689103",size:[120,600]}}]},{code:"/10095428/engl/engl_gam_lgm_left1",mediaTypes:{banner:{sizes:[160,600]}},bids:[{bidder:"ix",params:{siteId:"689102",size:[160,600]}}]},{code:"/10095428/engl/engl_gam_lgm_left1",mediaTypes:{banner:{sizes:[300,250]}},bids:[{bidder:"openx",params:{unit:"545615461",delDomain:"wikihow-d.openx.net"}}]},{code:"/10095428/engl/engl_gam_lgm_left1",
mediaTypes:{banner:{sizes:[300,600]}},bids:[{bidder:"openx",params:{unit:"545615494",delDomain:"wikihow-d.openx.net"}}]},{code:"/10095428/engl/engl_gam_lgm_left1",mediaTypes:{banner:{sizes:[120,600]}},bids:[{bidder:"openx",params:{unit:"545615498",delDomain:"wikihow-d.openx.net"}}]},{code:"/10095428/engl/engl_gam_lgm_left1",mediaTypes:{banner:{sizes:[160,600]}},bids:[{bidder:"openx",params:{unit:"545615497",delDomain:"wikihow-d.openx.net"}}]},{code:"/10095428/engl/engl_gam_lgm_left1",mediaTypes:{banner:{sizes:[300,250]}},bids:[{bidder:"sovrn",params:{tagid:"929453"}}]},{code:"/10095428/engl/engl_gam_lgm_left1",mediaTypes:{banner:{sizes:[300,600]}},bids:[{bidder:"sovrn",params:{tagid:"929454"}}]},{code:"/10095428/engl/engl_gam_lgm_left1",mediaTypes:{banner:{sizes:[120,600]}},bids:[{bidder:"sovrn",params:{tagid:"929456"}}]},{code:"/10095428/engl/engl_gam_lgm_left1",mediaTypes:{banner:{sizes:[160,600]}},bids:[{bidder:"sovrn",params:{tagid:"929455"}}]},{code:
"/10095428/engl/engl_gam_lgm_left1",mediaTypes:{banner:{sizes:[300,250]}},bids:[{bidder:"onemobile",params:{pos:"10095428englengl_gam_lgm_left1",dcn:"8a96954f01747430358b3651f057032b"}}]},{code:"/10095428/engl/engl_gam_lgm_left1",mediaTypes:{banner:{sizes:[300,600]}},bids:[{bidder:"onemobile",params:{pos:"10095428englengl_gam_lgm_left1_300x600",dcn:"8a96954f01747430358b3651f057032b"}}]},{code:"/10095428/engl/engl_gam_lgm_left1",mediaTypes:{banner:{sizes:[120,600]}},bids:[{bidder:"onemobile",params:{pos:"10095428englengl_gam_lgm_left1_120x600",dcn:"8a96954f01747430358b3651f057032b"}}]},{code:"/10095428/engl/engl_gam_lgm_left1",mediaTypes:{banner:{sizes:[160,600]}},bids:[{bidder:"onemobile",params:{pos:"10095428englengl_gam_lgm_left1_160x600",dcn:"8a96954f01747430358b3651f057032b"}}]},{code:"/10095428/engl/engl_gam_lgm_left1",mediaTypes:{banner:{sizes:[160,600]}},bids:[{bidder:"sharethrough",params:{pkey:"a3xM4d4iurrHElHK4uGLSa09",iframeSize:[160,600]}}]},{code:
"/10095428/engl/engl_gam_lgm_left1",mediaTypes:{banner:{sizes:[300,250]}},bids:[{bidder:"sharethrough",params:{pkey:"7168thqO1en85XzMaOioGXwK",iframeSize:[300,250]}}]},{code:"/10095428/engl/engl_gam_lgm_left1",mediaTypes:{banner:{sizes:[300,600]}},bids:[{bidder:"sharethrough",params:{pkey:"QdBEMiCIUVkmITLcOY16jxHd",iframeSize:[300,600]}}]},{code:"/10095428/engl/engl_gam_lgm_promo",mediaTypes:{banner:{sizes:[300,250]}},bids:[{bidder:"pubmatic",params:{publisherId:"159508",adSlot:"3484049"}},{bidder:"ix",params:{siteId:"632550",size:[300,250]}},{bidder:"openx",params:{unit:"543971537",delDomain:"wikihow-d.openx.net"}},{bidder:"districtm",params:{placementId:"21099068"}},{bidder:"districtmDMX",params:{dmxid:593764,memberid:100369}},{bidder:"appnexus",params:{placementId:"21222616"}},{bidder:"triplelift",params:{inventoryCode:"Wikihow_engl_gam_lgm_promo_300x250_Prebid"}},{bidder:"sovrn",params:{tagid:"861659"}},{bidder:"onemobile",params:{pos:"engl_gam_lgm_promo",dcn:
"8a96954f01747430358b3651f057032b"}},{bidder:"yieldmo",params:{placementId:"2687163485543932751"}},{bidder:"rubicon",params:{accountId:"15274",zoneId:"1986294",siteId:"333816"}},{bidder:"sharethrough",params:{pkey:"2dgIVEkekDipUsLpIoCw26EN",iframeSize:[300,250]}}]},{code:"/10095428/engl/engl_gam_lgm_intro",mediaTypes:{banner:{sizes:[728,90]}},bids:[{bidder:"pubmatic",params:{publisherId:"159508",adSlot:"3224244"}},{bidder:"ix",params:{siteId:"579269",size:[728,90]}},{bidder:"openx",params:{unit:"542288967",delDomain:"wikihow-d.openx.net"}},{bidder:"districtm",params:{placementId:"20261544"}},{bidder:"districtmDMX",params:{dmxid:559286,memberid:100369}},{bidder:"appnexus",params:{placementId:"20261433"}},{bidder:"triplelift",params:{inventoryCode:"Wikihow_engl_gam_lgm_intro_728x90_Prebid"}},{bidder:"sovrn",params:{tagid:"777741"}},{bidder:"onemobile",params:{pos:"8a9694c7017474db0327dc33df760300",dcn:"8a96954f01747430358b3651f057032b"}},{bidder:"yieldmo",params:{placementId:
"2581129714336735279"}},{bidder:"rubicon",params:{accountId:"15274",zoneId:"1849302",siteId:"333816"}},{bidder:"sharethrough",params:{pkey:"QziDJYElLkw7LFscfNzZmTfF",iframeSize:[728,90]}}]},{code:"/10095428/engl/engl_gam_all_scrol",mediaTypes:{banner:{sizes:[728,90]}},bids:[{bidder:"pubmatic",params:{publisherId:"159508",adSlot:"2946818"}},{bidder:"ix",params:{siteId:"531046",size:[728,90]}},{bidder:"openx",params:{unit:"541138162",delDomain:"wikihow-d.openx.net"}},{bidder:"districtm",params:{placementId:"19511766"}},{bidder:"districtmDMX",params:{dmxid:529252,memberid:100369}},{bidder:"appnexus",params:{placementId:"19512208"}},{bidder:"triplelift",params:{inventoryCode:"Wikihow_engl_gam_all_728x90_Prebid"}},{bidder:"sovrn",params:{tagid:"741355"}},{bidder:"onemobile",params:{pos:"8a96954f01747430358b365459b80331",dcn:"8a96954f01747430358b3651f057032b"}},{bidder:"yieldmo",params:{placementId:"2508866731741487190"}},{bidder:"rubicon",params:{accountId:"15274",zoneId:"1753134",siteId:
"333816"}},{bidder:"sharethrough",params:{pkey:"YRwAUQ4n3r0xdDMH0TOrPfnH",iframeSize:[728,90]}}]},{code:"/10095428/engl/engl_gam_lgm_early",mediaTypes:{banner:{sizes:[728,90]}},bids:[{bidder:"pubmatic",params:{publisherId:"159508",adSlot:"3224245"}},{bidder:"ix",params:{siteId:"579271",size:[728,90]}},{bidder:"openx",params:{unit:"542288968",delDomain:"wikihow-d.openx.net"}},{bidder:"districtm",params:{placementId:"20261577"}},{bidder:"districtmDMX",params:{dmxid:559288,memberid:100369}},{bidder:"appnexus",params:{placementId:"20261434"}},{bidder:"triplelift",params:{inventoryCode:"Wikihow_engl_gam_lgm_early_728x90_Prebid"}},{bidder:"sovrn",params:{tagid:"777742"}},{bidder:"onemobile",params:{pos:"8a9690fd017474dafe8adc342f970052",dcn:"8a96954f01747430358b3651f057032b"}},{bidder:"yieldmo",params:{placementId:"2581129714420621360"}},{bidder:"rubicon",params:{accountId:"15274",zoneId:"1849304",siteId:"333816"}},{bidder:"sharethrough",params:{pkey:"gRRuNlH2aMjBmEgjkjw9vqwh",iframeSize:[
728,90]}}]},{code:"/10095428/engl/engl_gam_lgm_later",mediaTypes:{banner:{sizes:[728,90]}},bids:[{bidder:"pubmatic",params:{publisherId:"159508",adSlot:"3224246"}},{bidder:"ix",params:{siteId:"579273",size:[728,90]}},{bidder:"openx",params:{unit:"542288969",delDomain:"wikihow-d.openx.net"}},{bidder:"districtm",params:{placementId:"20262329"}},{bidder:"districtmDMX",params:{dmxid:559289,memberid:100369}},{bidder:"appnexus",params:{placementId:"20261435"}},{bidder:"triplelift",params:{inventoryCode:"Wikihow_engl_gam_lgm_later_728x90_Prebid"}},{bidder:"sovrn",params:{tagid:"777743"}},{bidder:"onemobile",params:{pos:"8a9694c7017474db0327dc347a0a0301",dcn:"8a96954f01747430358b3651f057032b"}},{bidder:"yieldmo",params:{placementId:"2581129714504507441"}},{bidder:"rubicon",params:{accountId:"15274",zoneId:"1849306",siteId:"333816"}}]}];window.pbjs=window.pbjs||{};window.pbjs.que=window.pbjs.que||[];window.pbjsrequested=!1;window.pbjsloaded=!1;window.googletag&&(window.googletag.cmd.push(
function(){window.googletag.pubads().addEventListener("slotRequested",function(a){a=a.slot;var b=a.getSlotId().getDomId(),d=a.getSlotId().getAdUnitPath();k("GPT slotRequested:",b,d,a.getTargetingMap())})}),window.googletag.cmd.push(function(){window.googletag.pubads().addEventListener("slotResponseReceived",function(a){a=a.slot;var b=a.getSlotId().getDomId(),d=a.getSlotId().getAdUnitPath(),c=a.getResponseInformation(),e=null,g=null;c?(e=c.campaignId,g=c.lineItemId):k("GPT slotResponseReceived: no response information received for request",b);2622783038==e?k("GPT slotResponseReceived: aps won",b,d,"campaign:",e,"lineItem:",g,"queryId:",a.getEscapedQemQueryId()):2709340992==e?k("GPT slotResponseReceived: prebid won",b,d,"campaign:",e,"lineItem:",g,"queryId:",a.getEscapedQemQueryId()):k("GPT slotResponseReceived",b,d,"response info",c,"queryId:",a.getEscapedQemQueryId())})}));"IntersectionObserver"in window&&(v=new IntersectionObserver(function(a,b){a.forEach(function(a){if(a.
isIntersecting){var b=a.target,c=q[b.id];c&&c.load();for(var d=0;d<m.length;d+=1)c=m[d],c.element==b&&c.load();for(d=0;d<r.length;d+=1)c=r[d],c.element==b&&c.load();v.unobserve(a.target)}})},{rootMargin:qa}));WH.isMobile&&(N=314);return{init:function(){var a=(window.innerWidth||document.documentElement.clientWidth)>=WH.largeScreenMinWidth;v||(J=WH.shared.throttle(O,100),window.addEventListener("scroll",J));1!=a||I||(ca=WH.shared.throttle(oa,10),window.addEventListener("scroll",ca));document.addEventListener("DOMContentLoaded",function(){O()},!1);WH.shared&&WH.shared.addResizeFunction(O);I&&"ResizeObserver"in window&&(a=new ResizeObserver(function(a){if(!(1>m.length||(a=m[m.length-1],2>m.length&&1!=a.lastRRAd))){var b=document.getElementById("sidebar").offsetHeight,c=document.scrollingElement.scrollHeight;b=c-(b-a.adElement.offsetHeight)-500;a.adElement.style.height=b+"px";var e=document.scrollingElement.scrollHeight;e>c&&(a.adElement.style.height=b-(e-c)-50+"px")}}),a.observe(document.
scrollingElement),a.observe(document.getElementById("mw-mf-page-center")))},addBodyAd:function(a){a=document.getElementById(a);var b=null;b="scrollto"==a.parentElement.getAttribute("data-type")?new la(a):new X(a);a=null==v?!1:!0;b.disabled||("leftrail"==b.type?(b.last=!0,0<r.length&&(r[r.length-1].last=!1),r.push(b),a&&b.observerLoading&&0==b.instantLoad&&(b.useScrollLoader=!1,v.observe(b.element))):"rightrail"==b.type?(b.last=!0,0<m.length&&(m[m.length-1].last=!1),m.push(b),a&&b.observerLoading&&0==b.instantLoad&&(b.useScrollLoader=!1,v.observe(b.element))):"toc"==b.type?(x=b,b.adElement.style.display="none"):"scrollto"==b.type?(y=b,B=WH.shared.throttle(pa,100),window.addEventListener("scroll",B)):"quiz"==b.type?(z[b.adElement.parentElement.id]=b,b.adElement.parentElement.addEventListener("change",function(a){a=this.id;z[a]&&(b.adElement.classList.remove("hidden"),z[a].load())})):(q[b.element.id]=b,a&&b.observerLoading&&0==b.instantLoad&&(b.useScrollLoader=!1,v.observe(b.element))),
"dfp"==b.service&&("scrollto"!=b.type&&b.dfpdisplaylate?window.googletag.cmd.push(function(){k("defining new ad slot",b.adTargetId);l[b.adTargetId]=window.googletag.defineSlot(b.adunitpath,b.sizesArray,b.adTargetId);l[b.adTargetId].addService(window.googletag.pubads());"intro"==b.type&&l[b.adTargetId].setCollapseEmptyDiv(!1);window.googletag.display(b.adTargetId);b.instantLoad&&b.load()}):"scrollto"!=b.type&&window.googletag.cmd.push(function(){window.googletag.display(b.adTargetId)})),b.pbload&&(k("prebid active on",b.adTargetId),p()))},loadTOCAd:function(a){if("string"===typeof a&&(a=a.slice(1),a=document.getElementById(a),x)){var b=$(a).next(".section").find(".steps_list_2 > li:first");$(a).hasClass("mw-headline")&&(b=$(a).parents(".section:first").find(".steps_list_2 > li:first"));b.length&&(b.append($(x.adElement)),x.load(),x.adElement.style.display="block",x=null)}},slotRendered:function(a,b,c){a=c.slot;var d=a.getSlotId().getDomId(),e=a.getSlotId().getAdUnitPath(),g=c.isEmpty,l=
"",m=a.getResponseInformation();if(-1!=window.location.href.indexOf("adslog=1"))if(m&&0==m.isBackfill&&(Q()?l=a.getHtml():(l=a.getHtml(),l=[l])),1==g){if(k("GPT slotRenderedEnded: ad is empty:",d,e),-1<d.indexOf("scrollto_ad")||-1<d.indexOf("method_ad"))if(d=document.getElementById(d))k("GPT slotRenderedEnded: removing empty ad:",d),d.parentElement.parentElement.removeChild(d.parentElement)}else e=a.getResponseInformation().campaignId,2622783038==e?k("GPT slotRenderedEnded:",d,"aps creative:",l):2709340992==e?k("GPT slotRenderedEnded:",d,"prebid creative:",l):k("GPT slotRenderedEnded creative:",d,l);var h=da(c);h&&(h.pbTargetingAdded=!1,h.apsDisplayBidsCalled=!1,h.slotRendered=!0,"scrollto"==h.type&&(h.adTargetId=h.element.id),h.pbload&&(c=a.getTargetingMap().hb_adid,c="undefined"!=typeof c?c[0]:"unset",1==h.emptyLogging&&g&&(g=a.getTargetingMap().hb_pb,g="undefined"!=typeof g?g[0]:"unset",d=a.getTargetingMap().amznp,d="undefined"!=typeof d?d[0]:"unset",l=a.getTargetingMap().amznbid,l=
"undefined"!=typeof l?l[0]:"unset",e=a.getTargetingMap().hb_bidder,e="undefined"!=typeof e?e[0]:"unset",a=a.getTargetingMap().tl_source,a="undefined"!=typeof a?a[0]:"unset",m=(new Date).getTime()-h.last_pb_request_time,WH.event("gpt_ad_rendered",{empty:1,type:h.type,bucket:window.bucketId,hb_pb:g,hb_adid:c,last_hb_adid:h.last_hb_adid,tl_source:a,insertSlot:h.insertSlotValue,hb_bidder:e,session_id:ra,insert_target:h.insertPosition,pbtimedout:h.pbTimedOut,pb_time_since_request:m,amznp:d,amznbid:l})),h.last_hb_adid=c),"rightrail"==h.type&&(h.height=h.element.offsetHeight,h.element.classList.remove("blockthrough"),a=window.innerHeight||document.documentElement.clientHeight,h.extraChild&&b&&300>parseInt(b[1])?h.extraChild.style.visibility="visible":h.extraChild&&(h.extraChild.style.visibility="hidden"),h.notfixedposition||Z(h,a),h.refreshable&&h.renderrefresh&&setTimeout(function(){h.refresh()},h.getRefreshTime())))},impressionViewable:function(a){for(var b,c=0;c<m.length;c++){var e=m[c];l[
e.adTargetId]==a&&(b=e)}b&&(b.height=b.element.offsetHeight,b.refreshable&&b.viewablerefresh&&setTimeout(function(){b.refresh()},b.getRefreshTime()))},loadAdSpacing:function(){for(var a in q){var b=q[a];b&&b.element&&b.height&&(b.element.style.height=b.height+"px")}},gdprAccepted:function(){for(var a=0;a<m.length;a++){var b=m[a];0==a&&b.load()}for(a=0;a<r.length;a++)b=r[a],0==a&&b.load();for(a in q)b=q[a],b.instantLoad&&b.load()},promoLoadEvent:function(a,b,c){M&&document.addEventListener&&(a=document.getElementById(a),"undefined"!=typeof a&&"IMG"==a.nodeName&&a.addEventListener("load",function(){WH.event("article_promo_house_image_load_go_sc",{ad_unit:b,img_name:c})}))},setCustomBottomMarginHeight:function(a){N=parseInt(a)}}}();WH.ads.init();</script><div id="content_inner"><script>if (typeof mw != 'undefined') { mw.mobileFrontend.emit( 'header-loaded' ); }</script><div class="pre-content"><ul id="breadcrumb" class="breadcrumbs" aria-label="Category breadcrumbs"><li><a href="/Special:CategoryListing" title="Special:CategoryListing">Categories</a></li><li><a href="/Category:Computers-and-Electronics" title="Category:Computers and Electronics">Computers and Electronics</a></li><li><a href="/Category:Internet" title="Category:Internet">Internet</a></li><li><a href="/Category:Website-and-Blog-Creation" title="Category:Website and Blog Creation">Website and Blog Creation</a></li><li><a href="/Category:Markup-Languages" title="Category:Markup Languages">Markup Languages</a></li><li><a href="/Category:HTML" title="Category:HTML">HTML</a></li></ul><h1 id="section_0" class="title_lg"><a href="https://www.wikihow.com/Copy-Source-Code">How to Copy HTML Source Code on Your Computer, iPhone, or Android</a></h1></div><div id="bodyContent" class="content"><script>window.a=window.a||{};window.a.f=function(){function D(){var b=E().split("x")[0];return"undefined"!=typeof h.largeScreenMinWidth&&b&&parseInt(b,10)<h.largeScreenMinWidth?1:0}function q(){var b=F;if(k){var c=+new Date-k;0<c&&(b+=c)}return b}function G(b){if("undefined"!==typeof b&&"undefined"!==typeof b.target&&"undefined"!==typeof b.target.getAttribute&&(b=b.target.getAttribute("id"),"undefined"!==typeof b&&0!==b.indexOf("whvid-player")))return;H||(H=!0,l&&6>=l||(b=r({d:y?D()?"vm":"vw":"pv",m:h.pageName+" btraw "+q()/1E3,b:"6"}),delete b.dl,t("exit",b,!0)))}function I(){k&&(F+=+new Date-k,k=!1)}function J(){k||(k=+new Date)}function K(){var b=document.querySelectorAll("#intro, .section.steps, #quick_summary_section");if(b){var c=1E6,f=0;Array.prototype.forEach.call(b,function(b){var d=b;for(var e=0;d;)e+=d.offsetTop-d.clientTop,d=d.offsetParent;d=e;b=b.offsetHeight||b.clientHeight;c=Math.min(d,c);f=Math.max(d+b,f)});p=c;z=f}}function V(){var b=!1;try{var c=Object.defineProperty({},
"passive",{get:function(){b=!0}});window.addEventListener("testPassive",null,c);window.removeEventListener("testPassive",null,c)}catch(f){}window.addEventListener("scroll",function(){g++;if(-1!=u){var b=+new Date-v;b>=u+250&&(u=b,K())}var c=q();b=c-L;L=c;if(!(0>=b)){var d=window.scrollY||window.pageYOffset;c=d+(window.innerHeight||document.documentElement.clientHeight);if(!(d>z||c<p)){var e=z-p;if(!(0>=e))for(d=Math.floor(128*(1*d-p)/e),0>d&&(d=0),c=Math.ceil(128*(1*c-p)/e),127<c&&(c=127),e=d;e<=c;)"undefined"===typeof w[e]&&(w[e]=0),w[e]+=b,e++}}});window.addEventListener("resize",function(){g++});window.addEventListener("click",function(){g++});c=b?{passive:!0}:!1;window.addEventListener("touchstart",function(){g++},c);window.addEventListener("touchend",function(){g++});window.addEventListener("touchcancel",function(){g++});window.addEventListener("touchmove",function(){g++},c);document.addEventListener("keydown",function(){g++});document.addEventListener("keyup",function(){g++});
document.addEventListener("keypress",function(){g++});setInterval(function(){u=-1;K();0<g&&(M++,g=0);var b=q();b>N&&(N=b,O<A&&O++)},3E3)}function t(b,c,f){var g="",d=!0,e;for(e in c)c.hasOwnProperty(e)&&(g+=(d?"":"&")+e+"="+encodeURIComponent(c[e]),d=!1);b=(P?"/x/collect.php":"/x/collect")+"?t="+b+"&"+g;f&&"function"===typeof navigator.sendBeacon?navigator.sendBeacon(b,""):(c=new XMLHttpRequest,c.open("GET",b,!f),c.send())}function Q(){function b(){var b={ti:x[m].t};if(0===m){a:{try{var c=window.navigator,d=document,e=window.screen;b=R(b,{de:d&&(d.characterSet||d.charset),ul:(c&&(c.language||c.browserLanguage)||"").toLowerCase(),sd:e&&e.colorDepth+"-bit",sr:e&&e.width+"x"+e.height,vp:E(),pr:"undefined"!=typeof window.devicePixelRatio?window.devicePixelRatio:0});var g=r(b);break a}catch(Y){}g={}}t("first",g,!1)}else t("later",r(b),!1);m++;m<x.length&&Q()}var c=+new Date;m<x.length&&(c=v+1E3*x[m].t-c,0>=c?b():setTimeout(b,c))}function R(b,c){for(var f in c)c.hasOwnProperty(f)&&
"undefined"==typeof b[f]&&(b[f]=c[f]);return b}function E(){var b=document,c=b.documentElement,f=b.body,g=f&&f.clientWidth&&f.clientHeight,d=[];c&&c.clientWidth&&c.clientHeight&&("CSS1Compat"===b.compatMode||!g)?d=[c.clientWidth,c.clientHeight]:g&&(d=[f.clientWidth,f.clientHeight]);return c=0>=d[0]||0>=d[1]?"":d.join("x")}function r(b){var c=W();250>c&&(c=1500);var f={gg:y,to:Math.round((+new Date-v)/1E3),ac:Math.round(q()/1E3),pg:h.pageID,ns:h.pageNamespace,ra:S,cv:X,cl:T,cm:D(),dl:location.href,b:"6"};f=R(b,f);0===h.pageNamespace&&(B=c/1500*180,A=B/3,b=Math.round(100*M/A),0>b&&(b=0),100<b&&(b=100),f.a1=Math.round(b));return f}function W(){var b=document.querySelectorAll("#intro, .section.steps, #quick_summary_section");if(!b)return 0;var c=0;Array.prototype.forEach.call(b,function(b){b=b.textContent.split(/\s/).filter(function(b){return""!==b}).length;c+=b});return c}var h=window.WH,X=h.stuCount,T=h.pageLang,P=!!location.href.match(/\.wikidogs\.com/),n=location.href.match(
/\.wikihow(-fun)?\.[a-z]+\//)&&"en"==T||P,v=!1,k=!1,F=0,y=0,H=!1,S,l=!1,m=0,B=180,A=B/3,O=0,M=0,g=0,N=0,w=[],u=0,p=0,z=0,L=0,U=null,C=[],x=[{t:1},{t:9},{t:10},{t:12},{t:175},{t:180},{t:185},{t:300},{t:600},{t:900},{t:1200},{t:1500},{t:1800},{t:2100},{t:2400}];return{start:function(){if("undefined"==typeof window.a.c||!window.a.c){window.a.c=!0;var b=navigator.userAgent.match(/MSIE (\d+)/);b&&(l=b[1]);b="";for(var c=0;12>c;c++)b+="abcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(36*Math.random()));S=b;y=("string"===typeof document.referrer?document.referrer:"").match(/^[a-z]*:\/\/[^\/]*google/i)?1:0;k=v="number"==typeof h.timeStart&&0<h.timeStart?h.timeStart:+new Date;"visibilityState"in document&&"hidden"==document.visibilityState&&(k=!1);n&&Q();l&&7<=l&&9>=l?(document.onfocusin=J,document.onfocusout=I):(window.onfocus=J,window.onblur=I);n&&(window.onunload=G,window.onbeforeunload=G);(n||n)&&V()}},ping:function(b){(n||n)&&t("event",r(b),!1)},registerDebug:function(b){if(
"function"!=typeof b)console.log("registerDebug: must be a function");else{U=b;for(b=0;b<C.length;b++)U(C[b]);C=[]}}}}();window.a.f.start();(function(){'use strict';window.WH=window.WH||{};window.WH.performance={};window.WH.performance.mark=function(name){if(typeof performance!=='undefined'&&typeof performance.mark==='function'){return performance.mark(name);}};window.WH.performance.clearMarks=function(name){if(typeof performance!=='undefined'&&typeof performance.clearMarks==='function'){return performance.clearMarks(name);}};}());</script>
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
<script>function mfTempOpenSection(id){var block=document.getElementById("mf-section-"+id);block.className+=" open-block";block.previousSibling.className+=" open-block";}</script><div class="mw-parser-output">
<div id="intro" class="section hasad sticky">
<a class="large_pdf_link pdf_link disabled " href="#">
<img src="/extensions/wikihow/socialstamp/images/icon-pdf.svg" width="15" height="15">
Download Article
</a><div role="navigation" id="method_toc" class="en_toc">
<div>
<span class="header_toc">Explore this Article</span>
<div id="method_toc_list">
<div class="toc_header">methods</div>
<div class="method_toc_item toc_method " id="" data-section="">
<a href="#Using-a-Computer">
<span>1</span>
Using a Computer
</a>
</div>
<div class="method_toc_item toc_method " id="" data-section="">
<a href="#Using-an-Android">
<span>2</span>
Using an Android
</a>
</div>
<div class="method_toc_item toc_method " id="" data-section="">
<a href="#Using-an-iPhone-or-iPad">
<span>3</span>
Using an iPhone or iPad
</a>
</div>
<div class="toc_header">Other Sections</div>
<div class="method_toc_item toc_post" id="rwh_toc" data-section="#relatedwikihows">
<a href="#relatedwikihows">
Related Articles
</a>
</div>
<div class="method_toc_item toc_post" id="toc_ref" data-section="#References">
<a href="#References">
References
</a>
</div>
<div class="method_toc_item toc_post" id="summary_toc" data-section="#summary_wrapper">
<a href="#summary_wrapper">
Article Summary
</a>
</div>
</div>
<div id="toc_line"></div>
</div>
</div>
<div id="coauthor_byline" class="article_byline ">
<div id="byline_info">
<b>Co-authored by</b>
<a href="/Author/Nicole-Levine-MFA" class="coauthor_link coauthor_checkstar">Nicole Levine, MFA</a>
<p>
<a href="#" class="byline_info_link hover_pop">
<span>Last Updated: March 25, 2021</span>
</a>
</p>
</div>
</div>
<a class="small_pdf_link pdf_link disabled " href="#">
<img src="/extensions/wikihow/socialstamp/images/icon-pdf.svg" width="15" height="15">
Download Article
</a>
<div id="byline_hover" hidden>
<div id="byline_hover_close">X</div>
<div id="byline_hover_body">
<p>
This article was co-authored by <a href="/Author/Nicole-Levine-MFA">Nicole Levine, MFA</a>. Nicole Levine is a Technology Writer and Editor for wikiHow. She has more than 20 years of experience creating technical documentation and leading support teams at major web hosting and software companies. Nicole also holds an MFA in Creative Writing from Portland State University and teaches composition, fiction-writing, and zine-making at various institutions.
<br><br>
This article has been viewed 1,314 times.
</p>
</div>
</div>
<div class="mf-section-0" id="mf-section-0">
<p>This wikiHow teaches you how to locate and copy the HTML source code of a website on your computer, phone, or tablet. The steps are pretty straight-forward when you're using a computer or an Android, but if you're using an iPhone or iPad, you'll need a third-party app like View Source to get the job done.
</p>
</div>
<div class="clearall"></div>
<div class="wh_ad_inner w_label al_grey" data-service="adsense" data-instantload="1" data-slot="7672188889" data-width="728" data-height="120" data-smallslot="8943394577" data-smallheight="120" data-innerclass="full-width" data-full-width-intro="true" data-type="intro" data-small="1" data-medium="1" data-large="1" data-channels="9848412230,5232454650" data-adunitpath="/10095428/engl/engl_gam_lgm_intro" data-size="[728, 90]" data-largechannels="5788212177 7020581953" data-mediumchannels="8142447154" data-smallchannels="1761065154" data-mobilechannels="7928712280,6429618073" data-observerloading="1" data-sizes-array="[728, 90]" data-gptdisplaylate="1"><div id="intro_ad_1" class="full-width"></div></div>
<script>WH.ads.addBodyAd('intro_ad_1')</script><script>WH.performance.mark('intro_rendered');</script>
</div>
<div class="wh_ad_inner" data-service="dfp" data-type="scrollto" data-adunitpath="/10095428/engl/engl_gam_all_scrol" data-size="[728, 90]" data-prebidload="1" data-apsload="1" data-aps-timeout="800" data-maxsteps="6" data-maxnonsteps="3" data-width="728" data-height="90" data-large="1" data-channels="5232454650" data-mobilechannels="7928712280,6429618073" data-observerloading="1" data-sizes-array="[728, 90]" data-gptdisplaylate="1"><div id="scrollto_ad_1"></div></div>
<script>WH.ads.addBodyAd('scrollto_ad_1')</script><h2 class="section-heading hidden" onclick="javascript:mfTempOpenSection(1)">
<div class="mw-ui-icon mw-ui-icon-element indicator"></div>
<span class="mw-headline" id="Steps">Steps</span>
</h2>
<div class="mf-section-1 collapsible-block" id="mf-section-1">
<div class="section steps steps_first sticky">
<h3 class="in-block">
<div class="altblock"><div>Method <span>1</span><span class="method_of_count"> of 3:</span>
</div>
</div>
<span class="mw-headline" id="Using-a-Computer">Using a Computer</span>
</h3>
<div id="steps_1" class="section_text">
<ol class="steps_list_2">
<li id="step-id-00">
<a name="step_1_1" class="stepanchor"></a><div class="mwimg largeimage floatcenter " style="max-width:728px"><a href="#/Image:Copy-Source-Code-Step-1.jpg" class="image"><div class="content-spacer" style="padding-top:75%">
<img alt="Image titled Copy Source Code Step 1" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/a/ae/Copy-Source-Code-Step-1.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-1.jpg" data-width="460" data-height="345" id="4c1fe7ec67d64d530caf12a1c9789d96" onload="WH.performance.clearMarks('image1_rendered'); WH.performance.mark('image1_rendered');" data-src="https://www.wikihow.com/images/thumb/a/ae/Copy-Source-Code-Step-1.jpg/v4-460px-Copy-Source-Code-Step-1.jpg"><script>WH.shared.addScrollLoadItem('4c1fe7ec67d64d530caf12a1c9789d96')</script>
</div>
<noscript><img alt="Image titled Copy Source Code Step 1" src="https://www.wikihow.com/images/thumb/a/ae/Copy-Source-Code-Step-1.jpg/v4-460px-Copy-Source-Code-Step-1.jpg" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/a/ae/Copy-Source-Code-Step-1.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-1.jpg" data-width="460" data-height="345" id="4c1fe7ec67d64d530caf12a1c9789d96" onload="WH.performance.clearMarks('image1_rendered'); WH.performance.mark('image1_rendered');"></noscript>
<script>WH.performance.clearMarks('image1_rendered'); WH.performance.mark('image1_rendered');</script><div class="image_details" style="display:none;"><span style="display:none;">{"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/a\/ae\/Copy-Source-Code-Step-1.jpg\/v4-460px-Copy-Source-Code-Step-1.jpg","bigUrl":"\/images\/thumb\/a\/ae\/Copy-Source-Code-Step-1.jpg\/aid12518057-v4-728px-Copy-Source-Code-Step-1.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><p>License: <a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"https:\/\/en.wikipedia.org\/wiki\/Fair_use\">Fair Use<\/a> (screenshot)<br>\n<\/p><\/div>"}</span></div></a></div>
<div class="step_num">1</div><div class="step">
<b class="whb">Go to the website you want to copy.</b> You can use any web browser on your PC or Mac to view and copy a website's source code.
<script>WH.performance.mark('step1_rendered');</script>
</div>
<div class="clearall"></div>
</li>
<li id="step-id-01">
<a name="step_1_2" class="stepanchor"></a><div class="mwimg largeimage floatcenter " style="max-width:728px"><a href="#/Image:Copy-Source-Code-Step-2.jpg" class="image"><div class="content-spacer" style="padding-top:75%">
<img alt="Image titled Copy Source Code Step 2" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/7/73/Copy-Source-Code-Step-2.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-2.jpg" data-width="460" data-height="345" id="a7444d002e0d912db09bb9d45fc3cff7" data-src="https://www.wikihow.com/images/thumb/7/73/Copy-Source-Code-Step-2.jpg/v4-460px-Copy-Source-Code-Step-2.jpg"><script>WH.shared.addScrollLoadItem('a7444d002e0d912db09bb9d45fc3cff7')</script>
</div>
<noscript><img alt="Image titled Copy Source Code Step 2" src="https://www.wikihow.com/images/thumb/7/73/Copy-Source-Code-Step-2.jpg/v4-460px-Copy-Source-Code-Step-2.jpg" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/7/73/Copy-Source-Code-Step-2.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-2.jpg" data-width="460" data-height="345" id="a7444d002e0d912db09bb9d45fc3cff7"></noscript>
<div class="image_details" style="display:none;"><span style="display:none;">{"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/7\/73\/Copy-Source-Code-Step-2.jpg\/v4-460px-Copy-Source-Code-Step-2.jpg","bigUrl":"\/images\/thumb\/7\/73\/Copy-Source-Code-Step-2.jpg\/aid12518057-v4-728px-Copy-Source-Code-Step-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><p>License: <a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"https:\/\/en.wikipedia.org\/wiki\/Fair_use\">Fair Use<\/a> (screenshot)<br>\n<\/p><\/div>"}</span></div></a></div>
<div class="step_num">2</div><div class="step">
<b class="whb">Enable the Develop menu (if you're using Safari).</b> If you're using Safari on a Mac, you'll need to enable the Develop menu if you want to view a website's source code.<sup id="_ref-1" class="reference" aria-label="Link to Reference 1"><a href="#_note-1">[1]</a><span class="ts_popup " hidden id="ts_popup_1" style="display: none;">
<span class="ts_close">X</span>
<span class="ts_name">Research source</span>
<span class="ts_description"></span>
<a href="#" class="ts_source" target="_blank" rel="nofollow noreferrer noopener"></a>
</span>
</sup> This is only required on Safari, so you can skip this if you're using any other browser:
<ul>
<li>Click the <b>Safari</b> menu at the top of the screen.</li>
<li>Click <b>Preferences</b> on the menu.</li>
<li>Click <b>Advanced</b>.</li>
<li>Select <b>Show Develop menu in menu bar</b>.</li>
</ul>
</div>
<div class="clearall"></div>
</li>
<li id="step-id-02">
<a name="step_1_3" class="stepanchor"></a><div class="mwimg largeimage floatcenter " style="max-width:728px"><a href="#/Image:Copy-Source-Code-Step-3.jpg" class="image"><div class="content-spacer" style="padding-top:75%">
<img alt="Image titled Copy Source Code Step 3" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/7/76/Copy-Source-Code-Step-3.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-3.jpg" data-width="460" data-height="345" id="0f98f61dfc3bb6dd8d319342156789e7" data-src="https://www.wikihow.com/images/thumb/7/76/Copy-Source-Code-Step-3.jpg/v4-460px-Copy-Source-Code-Step-3.jpg"><script>WH.shared.addScrollLoadItem('0f98f61dfc3bb6dd8d319342156789e7')</script>
</div>
<noscript><img alt="Image titled Copy Source Code Step 3" src="https://www.wikihow.com/images/thumb/7/76/Copy-Source-Code-Step-3.jpg/v4-460px-Copy-Source-Code-Step-3.jpg" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/7/76/Copy-Source-Code-Step-3.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-3.jpg" data-width="460" data-height="345" id="0f98f61dfc3bb6dd8d319342156789e7"></noscript>
<div class="image_details" style="display:none;"><span style="display:none;">{"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/7\/76\/Copy-Source-Code-Step-3.jpg\/v4-460px-Copy-Source-Code-Step-3.jpg","bigUrl":"\/images\/thumb\/7\/76\/Copy-Source-Code-Step-3.jpg\/aid12518057-v4-728px-Copy-Source-Code-Step-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><p>License: <a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"https:\/\/en.wikipedia.org\/wiki\/Fair_use\">Fair Use<\/a> (screenshot)<br>\n<\/p><\/div>"}</span></div></a></div>
<div class="step_num">3</div><div class="step">
<b class="whb">Right-click a blank area of the website.</b> A context menu will expand.
</div>
<div class="clearall"></div>
</li>
<li id="step-id-03">
<a name="step_1_4" class="stepanchor"></a><div class="mwimg largeimage floatcenter " style="max-width:728px"><a href="#/Image:Copy-Source-Code-Step-4.jpg" class="image"><div class="content-spacer" style="padding-top:75%">
<img alt="Image titled Copy Source Code Step 4" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/b/ba/Copy-Source-Code-Step-4.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-4.jpg" data-width="460" data-height="345" id="fb2bd50fdc1ca267c5793da18729f175" data-src="https://www.wikihow.com/images/thumb/b/ba/Copy-Source-Code-Step-4.jpg/v4-460px-Copy-Source-Code-Step-4.jpg"><script>WH.shared.addScrollLoadItem('fb2bd50fdc1ca267c5793da18729f175')</script>
</div>
<noscript><img alt="Image titled Copy Source Code Step 4" src="https://www.wikihow.com/images/thumb/b/ba/Copy-Source-Code-Step-4.jpg/v4-460px-Copy-Source-Code-Step-4.jpg" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/b/ba/Copy-Source-Code-Step-4.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-4.jpg" data-width="460" data-height="345" id="fb2bd50fdc1ca267c5793da18729f175"></noscript>
<div class="image_details" style="display:none;"><span style="display:none;">{"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/b\/ba\/Copy-Source-Code-Step-4.jpg\/v4-460px-Copy-Source-Code-Step-4.jpg","bigUrl":"\/images\/thumb\/b\/ba\/Copy-Source-Code-Step-4.jpg\/aid12518057-v4-728px-Copy-Source-Code-Step-4.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><p>License: <a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"https:\/\/en.wikipedia.org\/wiki\/Fair_use\">Fair Use<\/a> (screenshot)<br>\n<\/p><\/div>"}</span></div></a></div>
<div class="step_num">4</div><div class="step">
<b class="whb">Click <span style="white-space: nowrap;"><b class="whb"><span class="nowrap" title="This is not a clickable button; it illustrates the button one should find." style="font-family:Lucida Sans Unicode,Lucida Grande,sans-serif;font-size:14px;padding:0em 1em; border:1px solid; border-color:#AAA #555 #555 #AAA; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; background-color: #F2F2F2; background-image: -moz-linear-gradient(top, #FCFCFC, #E0E0E0); background-image: -o-linear-gradient(top, #FCFCFC, #E0E0E0); background-image: -webkit-linear-gradient(top, #FCFCFC, #E0E0E0); background-image: linear-gradient(top, #FCFCFC, #E0E0E0);">View page source</span></b></span> on the menu.</b> The phrasing may vary slightly on different web browsers, but this option will always display the current page's source code.
<ul>
<li>If you right-clicked in a frame, you'll see <b>View Frame Source</b> instead.<sup id="_ref-2" class="reference" aria-label="Link to Reference 2"><a href="#_note-2">[2]</a><span class="ts_popup " hidden id="ts_popup_2" style="display: none;">
<span class="ts_close">X</span>
<span class="ts_name">Research source</span>
<span class="ts_description"></span>
<a href="#" class="ts_source" target="_blank" rel="nofollow noreferrer noopener"></a>
</span>
</sup> This will only display the source code of the current frame.</li>
<li>If you see a link to a file with a name like <kbd style="background:#EEEEEE; letter-spacing:0.1em; padding-left:0.5em; padding-right:0.4em;">style.css</kbd> near the top of the source code, this is a separate file that contains the styles (fonts, colors, layout info) for the website.<sup id="_ref-3" class="reference" aria-label="Link to Reference 3"><a href="#_note-3">[3]</a><span class="ts_popup " hidden id="ts_popup_3" style="display: none;">
<span class="ts_close">X</span>
<span class="ts_name">Research source</span>
<span class="ts_description"></span>
<a href="#" class="ts_source" target="_blank" rel="nofollow noreferrer noopener"></a>
</span>
</sup> Click the link to open that page. If you want to copy all of the code for the site, you'll also need to copy this page.</li>
</ul>
</div>
<div class="clearall"></div>
</li>
<li id="step-id-04">
<a name="step_1_5" class="stepanchor"></a><div class="mwimg largeimage floatcenter " style="max-width:728px"><a href="#/Image:Copy-Source-Code-Step-5.jpg" class="image"><div class="content-spacer" style="padding-top:75%">
<img alt="Image titled Copy Source Code Step 5" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/b/b3/Copy-Source-Code-Step-5.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-5.jpg" data-width="460" data-height="345" id="17be73ae83a7eb9a9965c031ca06e005" data-src="https://www.wikihow.com/images/thumb/b/b3/Copy-Source-Code-Step-5.jpg/v4-460px-Copy-Source-Code-Step-5.jpg"><script>WH.shared.addScrollLoadItem('17be73ae83a7eb9a9965c031ca06e005')</script>
</div>
<noscript><img alt="Image titled Copy Source Code Step 5" src="https://www.wikihow.com/images/thumb/b/b3/Copy-Source-Code-Step-5.jpg/v4-460px-Copy-Source-Code-Step-5.jpg" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/b/b3/Copy-Source-Code-Step-5.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-5.jpg" data-width="460" data-height="345" id="17be73ae83a7eb9a9965c031ca06e005"></noscript>
<div class="image_details" style="display:none;"><span style="display:none;">{"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/b\/b3\/Copy-Source-Code-Step-5.jpg\/v4-460px-Copy-Source-Code-Step-5.jpg","bigUrl":"\/images\/thumb\/b\/b3\/Copy-Source-Code-Step-5.jpg\/aid12518057-v4-728px-Copy-Source-Code-Step-5.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><p>License: <a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"https:\/\/en.wikipedia.org\/wiki\/Fair_use\">Fair Use<\/a> (screenshot)<br>\n<\/p><\/div>"}</span></div></a></div>
<div class="step_num">5</div><div class="step">
<b class="whb">Press <span style="white-space: nowrap;"><b class="whb"><kbd class="keyboard-key nowrap" style="border: 3px outset #F3F3F3; border-left-color: #DBDBDB; border-top-color: #DBDBDB; background-color: #F3F3F3; padding: 0px 2px; font-family: inherit; font-size: 0.85em;">Ctrl</kbd>+<kbd class="keyboard-key nowrap" style="border: 3px outset #F3F3F3; border-left-color: #DBDBDB; border-top-color: #DBDBDB; background-color: #F3F3F3; padding: 0px 2px; font-family: inherit; font-size: 0.85em;">A</kbd></b></span> (PC) or <span style="white-space: nowrap;"><b class="whb"><kbd class="keyboard-key nowrap" style="border: 3px outset #F3F3F3; border-left-color: #DBDBDB; border-top-color: #DBDBDB; background-color: #F3F3F3; padding: 0px 2px; font-family: inherit; font-size: 0.85em;"><span class="Unicode">⌘</span> Cmd</kbd>+<kbd class="keyboard-key nowrap" style="border: 3px outset #F3F3F3; border-left-color: #DBDBDB; border-top-color: #DBDBDB; background-color: #F3F3F3; padding: 0px 2px; font-family: inherit; font-size: 0.85em;">A</kbd></b></span> (Mac).</b> This highlights all of the code on the page.
</div>
<div class="clearall"></div>
</li>
<li id="step-id-05">
<a name="step_1_6" class="stepanchor"></a><div class="mwimg largeimage floatcenter " style="max-width:728px"><a href="#/Image:Copy-Source-Code-Step-6.jpg" class="image"><div class="content-spacer" style="padding-top:75%">
<img alt="Image titled Copy Source Code Step 6" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/c/c1/Copy-Source-Code-Step-6.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-6.jpg" data-width="460" data-height="345" id="a2295c2292a8ddcf68154231d6a8aaa7" data-src="https://www.wikihow.com/images/thumb/c/c1/Copy-Source-Code-Step-6.jpg/v4-460px-Copy-Source-Code-Step-6.jpg"><script>WH.shared.addScrollLoadItem('a2295c2292a8ddcf68154231d6a8aaa7')</script>
</div>
<noscript><img alt="Image titled Copy Source Code Step 6" src="https://www.wikihow.com/images/thumb/c/c1/Copy-Source-Code-Step-6.jpg/v4-460px-Copy-Source-Code-Step-6.jpg" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/c/c1/Copy-Source-Code-Step-6.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-6.jpg" data-width="460" data-height="345" id="a2295c2292a8ddcf68154231d6a8aaa7"></noscript>
<div class="image_details" style="display:none;"><span style="display:none;">{"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/c\/c1\/Copy-Source-Code-Step-6.jpg\/v4-460px-Copy-Source-Code-Step-6.jpg","bigUrl":"\/images\/thumb\/c\/c1\/Copy-Source-Code-Step-6.jpg\/aid12518057-v4-728px-Copy-Source-Code-Step-6.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><p>License: <a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"https:\/\/en.wikipedia.org\/wiki\/Fair_use\">Fair Use<\/a> (screenshot)<br>\n<\/p><\/div>"}</span></div></a></div>
<div class="step_num">6</div><div class="step">
<b class="whb">Press <span style="white-space: nowrap;"><b class="whb"><kbd class="keyboard-key nowrap" style="border: 3px outset #F3F3F3; border-left-color: #DBDBDB; border-top-color: #DBDBDB; background-color: #F3F3F3; padding: 0px 2px; font-family: inherit; font-size: 0.85em;">Ctrl</kbd>+<kbd class="keyboard-key nowrap" style="border: 3px outset #F3F3F3; border-left-color: #DBDBDB; border-top-color: #DBDBDB; background-color: #F3F3F3; padding: 0px 2px; font-family: inherit; font-size: 0.85em;">C</kbd></b></span> (PC) or <span style="white-space: nowrap;"><b class="whb"><kbd class="keyboard-key nowrap" style="border: 3px outset #F3F3F3; border-left-color: #DBDBDB; border-top-color: #DBDBDB; background-color: #F3F3F3; padding: 0px 2px; font-family: inherit; font-size: 0.85em;"><span class="Unicode">⌘</span> Cmd</kbd>+<kbd class="keyboard-key nowrap" style="border: 3px outset #F3F3F3; border-left-color: #DBDBDB; border-top-color: #DBDBDB; background-color: #F3F3F3; padding: 0px 2px; font-family: inherit; font-size: 0.85em;">C</kbd></b></span> (Mac).</b> Now the selected source code is pasted to your clipboard.
<ul><li>To paste it into the desired location, right-click and select <b>Paste</b>.</li></ul>
</div>
<div class="clearall"></div>
<div class="wh_ad_inner w_label al_grey" data-service="dfp" data-adunitpath="/10095428/engl/engl_gam_lgm_early" data-size="[728, 90]" data-prebidload="1" data-apsload="1" data-aps-timeout="2000" data-width="728" data-height="90" data-large="1" data-channels="5232454650" data-type="method" data-mobilechannels="7928712280,6429618073" data-observerloading="1" data-sizes-array="[728, 90]" data-gptdisplaylate="1"><div id="method_ad_1"></div></div>
<script>WH.ads.addBodyAd('method_ad_1')</script><div class="wh_ad_inner w_label al_grey" data-service="adsense" data-slot="7710650179" data-width="728" data-height="90" data-smallheight="250" data-type="method" data-small="1" data-medium="1" data-channels="5232454650" data-mediumchannels="3005955957" data-smallchannels="2811805837" data-mobilechannels="7928712280,6429618073" data-observerloading="1" data-sizes-array="0" data-gptdisplaylate="1">
<div id="mobilemethod_ad_1"></div>
<div class="al_method">Advertisement</div>
</div>
<script>WH.ads.addBodyAd('mobilemethod_ad_1')</script>
</li>
</ol>
<div class="clearall"></div>
</div>
</div>
<div class="section steps sticky">
<h3 class="in-block">
<div class="altblock"><div>Method <span>2</span><span class="method_of_count"> of 3:</span>
</div>
</div>
<span class="mw-headline" id="Using-an-Android">Using an Android</span>
</h3>
<div id="steps_2" class="section_text">
<ol class="steps_list_2">
<li id="step-id-16">
<a name="step_2_1" class="stepanchor"></a><div class="mwimg largeimage floatcenter " style="max-width:728px"><a href="#/Image:Copy-Source-Code-Step-7.jpg" class="image"><div class="content-spacer" style="padding-top:75%">
<img alt="Image titled Copy Source Code Step 7" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/a/a1/Copy-Source-Code-Step-7.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-7.jpg" data-width="460" data-height="345" id="a79f46e00c31a663882d9e73f4f53e6e" data-src="https://www.wikihow.com/images/thumb/a/a1/Copy-Source-Code-Step-7.jpg/v4-460px-Copy-Source-Code-Step-7.jpg"><script>WH.shared.addScrollLoadItem('a79f46e00c31a663882d9e73f4f53e6e')</script>
</div>
<noscript><img alt="Image titled Copy Source Code Step 7" src="https://www.wikihow.com/images/thumb/a/a1/Copy-Source-Code-Step-7.jpg/v4-460px-Copy-Source-Code-Step-7.jpg" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/a/a1/Copy-Source-Code-Step-7.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-7.jpg" data-width="460" data-height="345" id="a79f46e00c31a663882d9e73f4f53e6e"></noscript>
<div class="image_details" style="display:none;"><span style="display:none;">{"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/a\/a1\/Copy-Source-Code-Step-7.jpg\/v4-460px-Copy-Source-Code-Step-7.jpg","bigUrl":"\/images\/thumb\/a\/a1\/Copy-Source-Code-Step-7.jpg\/aid12518057-v4-728px-Copy-Source-Code-Step-7.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><p>License: <a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"https:\/\/en.wikipedia.org\/wiki\/Fair_use\">Fair Use<\/a> (screenshot)<br>\n<\/p><\/div>"}</span></div></a></div>
<div class="step_num">1</div><div class="step">
<b class="whb">Open Chrome or Samsung Internet on your phone or tablet.</b> You can use Google Chrome to view the source code of a website on your Android.<sup id="_ref-4" class="reference" aria-label="Link to Reference 4"><a href="#_note-4">[4]</a><span class="ts_popup " hidden id="ts_popup_4" style="display: none;">
<span class="ts_close">X</span>
<span class="ts_name">Research source</span>
<span class="ts_description"></span>
<a href="#" class="ts_source" target="_blank" rel="nofollow noreferrer noopener"></a>
</span>
</sup>
</div>
<div class="clearall"></div>
</li>
<li id="step-id-17">
<a name="step_2_2" class="stepanchor"></a><div class="mwimg largeimage floatcenter " style="max-width:728px"><a href="#/Image:Copy-Source-Code-Step-8.jpg" class="image"><div class="content-spacer" style="padding-top:75%">
<img alt="Image titled Copy Source Code Step 8" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/e/e0/Copy-Source-Code-Step-8.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-8.jpg" data-width="460" data-height="345" id="fd6596c7451087e74cfd2f8598525d8e" data-src="https://www.wikihow.com/images/thumb/e/e0/Copy-Source-Code-Step-8.jpg/v4-460px-Copy-Source-Code-Step-8.jpg"><script>WH.shared.addScrollLoadItem('fd6596c7451087e74cfd2f8598525d8e')</script>
</div>
<noscript><img alt="Image titled Copy Source Code Step 8" src="https://www.wikihow.com/images/thumb/e/e0/Copy-Source-Code-Step-8.jpg/v4-460px-Copy-Source-Code-Step-8.jpg" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/e/e0/Copy-Source-Code-Step-8.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-8.jpg" data-width="460" data-height="345" id="fd6596c7451087e74cfd2f8598525d8e"></noscript>
<div class="image_details" style="display:none;"><span style="display:none;">{"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/e\/e0\/Copy-Source-Code-Step-8.jpg\/v4-460px-Copy-Source-Code-Step-8.jpg","bigUrl":"\/images\/thumb\/e\/e0\/Copy-Source-Code-Step-8.jpg\/aid12518057-v4-728px-Copy-Source-Code-Step-8.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><p>License: <a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"https:\/\/en.wikipedia.org\/wiki\/Fair_use\">Fair Use<\/a> (screenshot)<br>\n<\/p><\/div>"}</span></div></a></div>
<div class="step_num">2</div><div class="step">
<b class="whb">Go to the website you want to view.</b> Wait for the site to load fully before you continue.
</div>
<div class="clearall"></div>
</li>
<li id="step-id-18">
<a name="step_2_3" class="stepanchor"></a><div class="mwimg largeimage floatcenter " style="max-width:728px"><a href="#/Image:Copy-Source-Code-Step-9.jpg" class="image"><div class="content-spacer" style="padding-top:75%">
<img alt="Image titled Copy Source Code Step 9" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/d/dd/Copy-Source-Code-Step-9.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-9.jpg" data-width="460" data-height="345" id="1be960bae0f50cd42a417d5267119019" data-src="https://www.wikihow.com/images/thumb/d/dd/Copy-Source-Code-Step-9.jpg/v4-460px-Copy-Source-Code-Step-9.jpg"><script>WH.shared.addScrollLoadItem('1be960bae0f50cd42a417d5267119019')</script>
</div>
<noscript><img alt="Image titled Copy Source Code Step 9" src="https://www.wikihow.com/images/thumb/d/dd/Copy-Source-Code-Step-9.jpg/v4-460px-Copy-Source-Code-Step-9.jpg" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/d/dd/Copy-Source-Code-Step-9.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-9.jpg" data-width="460" data-height="345" id="1be960bae0f50cd42a417d5267119019"></noscript>
<div class="image_details" style="display:none;"><span style="display:none;">{"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/d\/dd\/Copy-Source-Code-Step-9.jpg\/v4-460px-Copy-Source-Code-Step-9.jpg","bigUrl":"\/images\/thumb\/d\/dd\/Copy-Source-Code-Step-9.jpg\/aid12518057-v4-728px-Copy-Source-Code-Step-9.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><p>License: <a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"https:\/\/en.wikipedia.org\/wiki\/Fair_use\">Fair Use<\/a> (screenshot)<br>\n<\/p><\/div>"}</span></div></a></div>
<div class="step_num">3</div><div class="step">
<b class="whb">Tap the address bar.</b> This displays the address of the website.
</div>
<div class="clearall"></div>
</li>
<li id="step-id-19">
<a name="step_2_4" class="stepanchor"></a><div class="mwimg largeimage floatcenter " style="max-width:728px"><a href="#/Image:Copy-Source-Code-Step-10.jpg" class="image"><div class="content-spacer" style="padding-top:75%">
<img alt="Image titled Copy Source Code Step 10" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/2/25/Copy-Source-Code-Step-10.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-10.jpg" data-width="460" data-height="345" id="4d1759153474718b740f8832b3a33228" data-src="https://www.wikihow.com/images/thumb/2/25/Copy-Source-Code-Step-10.jpg/v4-460px-Copy-Source-Code-Step-10.jpg"><script>WH.shared.addScrollLoadItem('4d1759153474718b740f8832b3a33228')</script>
</div>
<noscript><img alt="Image titled Copy Source Code Step 10" src="https://www.wikihow.com/images/thumb/2/25/Copy-Source-Code-Step-10.jpg/v4-460px-Copy-Source-Code-Step-10.jpg" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/2/25/Copy-Source-Code-Step-10.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-10.jpg" data-width="460" data-height="345" id="4d1759153474718b740f8832b3a33228"></noscript>
<div class="image_details" style="display:none;"><span style="display:none;">{"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/2\/25\/Copy-Source-Code-Step-10.jpg\/v4-460px-Copy-Source-Code-Step-10.jpg","bigUrl":"\/images\/thumb\/2\/25\/Copy-Source-Code-Step-10.jpg\/aid12518057-v4-728px-Copy-Source-Code-Step-10.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><p>License: <a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"https:\/\/en.wikipedia.org\/wiki\/Fair_use\">Fair Use<\/a> (screenshot)<br>\n<\/p><\/div>"}</span></div></a></div>
<div class="step_num">4</div><div class="step">
<b class="whb">Add <kbd style="background:#EEEEEE; letter-spacing:0.1em; padding-left:0.5em; padding-right:0.4em;">view-source:</kbd></b> to the beginning of the URL. To do this, just move the cursor to the beginning of the URL (before the https://) and type <kbd style="background:#EEEEEE; letter-spacing:0.1em; padding-left:0.5em; padding-right:0.4em;">view-source:</kbd>.
<ul><li>For example, if you were going to view the source of wikiHow.com, the URL would look like this: <kbd style="background:#EEEEEE; letter-spacing:0.1em; padding-left:0.5em; padding-right:0.4em;">view-source:<a target="_blank" rel="noreferrer noopener" class="external free" href="https://www.wikihow.com">https://www.wikihow.com</a></kbd>
</li></ul>
</div>
<div class="clearall"></div>
</li>
<li id="step-id-110">
<a name="step_2_5" class="stepanchor"></a><div class="mwimg largeimage floatcenter " style="max-width:728px"><a href="#/Image:Copy-Source-Code-Step-11.jpg" class="image"><div class="content-spacer" style="padding-top:75%">
<img alt="Image titled Copy Source Code Step 11" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/1/1b/Copy-Source-Code-Step-11.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-11.jpg" data-width="460" data-height="345" id="0fe93246d68e7802c67b010f80bcc697" data-src="https://www.wikihow.com/images/thumb/1/1b/Copy-Source-Code-Step-11.jpg/v4-460px-Copy-Source-Code-Step-11.jpg"><script>WH.shared.addScrollLoadItem('0fe93246d68e7802c67b010f80bcc697')</script>
</div>
<noscript><img alt="Image titled Copy Source Code Step 11" src="https://www.wikihow.com/images/thumb/1/1b/Copy-Source-Code-Step-11.jpg/v4-460px-Copy-Source-Code-Step-11.jpg" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/1/1b/Copy-Source-Code-Step-11.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-11.jpg" data-width="460" data-height="345" id="0fe93246d68e7802c67b010f80bcc697"></noscript>
<div class="image_details" style="display:none;"><span style="display:none;">{"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/1\/1b\/Copy-Source-Code-Step-11.jpg\/v4-460px-Copy-Source-Code-Step-11.jpg","bigUrl":"\/images\/thumb\/1\/1b\/Copy-Source-Code-Step-11.jpg\/aid12518057-v4-728px-Copy-Source-Code-Step-11.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><p>License: <a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"https:\/\/en.wikipedia.org\/wiki\/Fair_use\">Fair Use<\/a> (screenshot)<br>\n<\/p><\/div>"}</span></div></a></div>
<div class="step_num">5</div><div class="step">
<b class="whb">Tap the search, enter, or go key to go to the site.</b> This refreshes the site and displays only its source code.
<ul><li>If you see a link to a file with a name like <kbd style="background:#EEEEEE; letter-spacing:0.1em; padding-left:0.5em; padding-right:0.4em;">style.css</kbd> near the top of the source code, this is a separate file that contains the styles settings (colors, fonts, design, etc.) for the website. Tap the link to open that page. If you want to copy all of the code for the site, you'll also need to copy this page.</li></ul>
</div>
<div class="clearall"></div>
</li>
<li id="step-id-111">
<a name="step_2_6" class="stepanchor"></a><div class="mwimg largeimage floatcenter " style="max-width:728px"><a href="#/Image:Copy-Source-Code-Step-12.jpg" class="image"><div class="content-spacer" style="padding-top:75%">
<img alt="Image titled Copy Source Code Step 12" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/5/5c/Copy-Source-Code-Step-12.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-12.jpg" data-width="460" data-height="345" id="c97df189184a09ae22a17d4dcb8ffc61" data-src="https://www.wikihow.com/images/thumb/5/5c/Copy-Source-Code-Step-12.jpg/v4-460px-Copy-Source-Code-Step-12.jpg"><script>WH.shared.addScrollLoadItem('c97df189184a09ae22a17d4dcb8ffc61')</script>
</div>
<noscript><img alt="Image titled Copy Source Code Step 12" src="https://www.wikihow.com/images/thumb/5/5c/Copy-Source-Code-Step-12.jpg/v4-460px-Copy-Source-Code-Step-12.jpg" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/5/5c/Copy-Source-Code-Step-12.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-12.jpg" data-width="460" data-height="345" id="c97df189184a09ae22a17d4dcb8ffc61"></noscript>
<div class="image_details" style="display:none;"><span style="display:none;">{"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/5\/5c\/Copy-Source-Code-Step-12.jpg\/v4-460px-Copy-Source-Code-Step-12.jpg","bigUrl":"\/images\/thumb\/5\/5c\/Copy-Source-Code-Step-12.jpg\/aid12518057-v4-728px-Copy-Source-Code-Step-12.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><p>License: <a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"https:\/\/en.wikipedia.org\/wiki\/Fair_use\">Fair Use<\/a> (screenshot)<br>\n<\/p><\/div>"}</span></div></a></div>
<div class="step_num">6</div><div class="step">
<b class="whb">Tap and hold any word in the source code.</b> This highlights that word and surrounds it by bounding handles.
</div>
<div class="clearall"></div>
</li>
<li id="step-id-112">
<a name="step_2_7" class="stepanchor"></a><div class="mwimg largeimage floatcenter " style="max-width:728px"><a href="#/Image:Copy-Source-Code-Step-13.jpg" class="image"><div class="content-spacer" style="padding-top:75%">
<img alt="Image titled Copy Source Code Step 13" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/d/db/Copy-Source-Code-Step-13.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-13.jpg" data-width="460" data-height="345" id="fd196486403fb5889ccbb936256fc7f0" data-src="https://www.wikihow.com/images/thumb/d/db/Copy-Source-Code-Step-13.jpg/v4-460px-Copy-Source-Code-Step-13.jpg"><script>WH.shared.addScrollLoadItem('fd196486403fb5889ccbb936256fc7f0')</script>
</div>
<noscript><img alt="Image titled Copy Source Code Step 13" src="https://www.wikihow.com/images/thumb/d/db/Copy-Source-Code-Step-13.jpg/v4-460px-Copy-Source-Code-Step-13.jpg" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/d/db/Copy-Source-Code-Step-13.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-13.jpg" data-width="460" data-height="345" id="fd196486403fb5889ccbb936256fc7f0"></noscript>
<div class="image_details" style="display:none;"><span style="display:none;">{"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/d\/db\/Copy-Source-Code-Step-13.jpg\/v4-460px-Copy-Source-Code-Step-13.jpg","bigUrl":"\/images\/thumb\/d\/db\/Copy-Source-Code-Step-13.jpg\/aid12518057-v4-728px-Copy-Source-Code-Step-13.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><p>License: <a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"https:\/\/en.wikipedia.org\/wiki\/Fair_use\">Fair Use<\/a> (screenshot)<br>\n<\/p><\/div>"}</span></div></a></div>
<div class="step_num">7</div><div class="step">
<b class="whb">Drag the bounding handles to select all of the source code.</b> To do this, drag the leftmost bounding handle all the way to the beginning of the page, and the rightmost handle all the way to the end. A small toolbar will appear once you're finished.
</div>
<div class="clearall"></div>
</li>
<li id="step-id-113">
<a name="step_2_8" class="stepanchor"></a><div class="mwimg largeimage floatcenter " style="max-width:728px"><a href="#/Image:Copy-Source-Code-Step-14.jpg" class="image"><div class="content-spacer" style="padding-top:75%">
<img alt="Image titled Copy Source Code Step 14" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/5/59/Copy-Source-Code-Step-14.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-14.jpg" data-width="460" data-height="345" id="bf6565cd52f106d9ec4171c3f1370205" data-src="https://www.wikihow.com/images/thumb/5/59/Copy-Source-Code-Step-14.jpg/v4-460px-Copy-Source-Code-Step-14.jpg"><script>WH.shared.addScrollLoadItem('bf6565cd52f106d9ec4171c3f1370205')</script>
</div>
<noscript><img alt="Image titled Copy Source Code Step 14" src="https://www.wikihow.com/images/thumb/5/59/Copy-Source-Code-Step-14.jpg/v4-460px-Copy-Source-Code-Step-14.jpg" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/5/59/Copy-Source-Code-Step-14.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-14.jpg" data-width="460" data-height="345" id="bf6565cd52f106d9ec4171c3f1370205"></noscript>
<div class="image_details" style="display:none;"><span style="display:none;">{"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/5\/59\/Copy-Source-Code-Step-14.jpg\/v4-460px-Copy-Source-Code-Step-14.jpg","bigUrl":"\/images\/thumb\/5\/59\/Copy-Source-Code-Step-14.jpg\/aid12518057-v4-728px-Copy-Source-Code-Step-14.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><p>License: <a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"https:\/\/en.wikipedia.org\/wiki\/Fair_use\">Fair Use<\/a> (screenshot)<br>\n<\/p><\/div>"}</span></div></a></div>
<div class="step_num">8</div><div class="step">
<b class="whb">Tap <span style="white-space: nowrap;"><b class="whb"><span class="nowrap" title="This is not a clickable button; it illustrates the button one should find." style="font-family:Lucida Sans Unicode,Lucida Grande,sans-serif;font-size:14px;padding:0em 1em; border:1px solid; border-color:#AAA #555 #555 #AAA; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; background-color: #F2F2F2; background-image: -moz-linear-gradient(top, #FCFCFC, #E0E0E0); background-image: -o-linear-gradient(top, #FCFCFC, #E0E0E0); background-image: -webkit-linear-gradient(top, #FCFCFC, #E0E0E0); background-image: linear-gradient(top, #FCFCFC, #E0E0E0);">Copy</span></b></span> on the toolbar.</b> Now that you've copied the source code, you can paste it anywhere, such as into Google Docs or your note-taking app.
<ul><li>To paste the code into a file or app, tap and hold the typing area and select <b>Paste</b>.</li></ul>
</div>
<div class="clearall"></div>
<div class="wh_ad_inner w_label al_grey" data-service="adsense" data-slot="7710650179" data-width="728" data-height="90" data-smallheight="250" data-type="method" data-small="1" data-medium="1" data-channels="5232454650" data-mediumchannels="3005955957" data-smallchannels="2811805837" data-mobilechannels="7928712280,6429618073" data-observerloading="1" data-sizes-array="0" data-gptdisplaylate="1">
<div id="mobilemethod_ad_2"></div>
<div class="al_method">Advertisement</div>
</div>
<script>WH.ads.addBodyAd('mobilemethod_ad_2')</script>
</li>
</ol>
<div class="clearall"></div>
</div>
</div>
<div class="section steps sticky">
<h3 class="in-block">
<div class="altblock"><div>Method <span>3</span><span class="method_of_count"> of 3:</span>
</div>
</div>
<span class="mw-headline" id="Using-an-iPhone-or-iPad">Using an iPhone or iPad</span>
</h3>
<div id="steps_3" class="section_text">
<ol class="steps_list_2">
<li id="step-id-214">
<a name="step_3_1" class="stepanchor"></a><div class="mwimg largeimage floatcenter " style="max-width:728px"><a href="#/Image:Copy-Source-Code-Step-15.jpg" class="image"><div class="content-spacer" style="padding-top:75%">
<img alt="Image titled Copy Source Code Step 15" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/f/f8/Copy-Source-Code-Step-15.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-15.jpg" data-width="460" data-height="345" id="b26063640eaff090990992824fb5aab8" data-src="https://www.wikihow.com/images/thumb/f/f8/Copy-Source-Code-Step-15.jpg/v4-460px-Copy-Source-Code-Step-15.jpg"><script>WH.shared.addScrollLoadItem('b26063640eaff090990992824fb5aab8')</script>
</div>
<noscript><img alt="Image titled Copy Source Code Step 15" src="https://www.wikihow.com/images/thumb/f/f8/Copy-Source-Code-Step-15.jpg/v4-460px-Copy-Source-Code-Step-15.jpg" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/f/f8/Copy-Source-Code-Step-15.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-15.jpg" data-width="460" data-height="345" id="b26063640eaff090990992824fb5aab8"></noscript>
<div class="image_details" style="display:none;"><span style="display:none;">{"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/f\/f8\/Copy-Source-Code-Step-15.jpg\/v4-460px-Copy-Source-Code-Step-15.jpg","bigUrl":"\/images\/thumb\/f\/f8\/Copy-Source-Code-Step-15.jpg\/aid12518057-v4-728px-Copy-Source-Code-Step-15.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><p>License: <a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"https:\/\/en.wikipedia.org\/wiki\/Fair_use\">Fair Use<\/a> (screenshot)<br>\n<\/p><\/div>"}</span></div></a></div>
<div class="step_num">1</div><div class="step">
<b class="whb">Install View Source from the App Store <div class="mwimg t techicon floatright " style="max-width:96px"><a href="#/Image:Iphoneappstoreicon.png" class="image"><b class="whb"><img alt="Image titled Iphoneappstoreicon.png" src="https://www.wikihow.com/images/5/55/Iphoneappstoreicon.png" decoding="async" class="whcdn" data-srclarge="/images/thumb/5/55/Iphoneappstoreicon.png/30px-Iphoneappstoreicon.png" data-width="460" data-height="460" id="615576b21ee291d0de7e958e0751c7ad"></b><div class="image_details" style="display:none;"><span style="display:none;">{"smallUrl":"https:\/\/www.wikihow.com\/images\/5\/55\/Iphoneappstoreicon.png","bigUrl":"\/images\/thumb\/5\/55\/Iphoneappstoreicon.png\/30px-Iphoneappstoreicon.png","smallWidth":460,"smallHeight":460,"bigWidth":30,"bigHeight":30,"licensing":"<div class=\"mw-parser-output\"><p>I edited this screenshot of an iOS icon.\n<\/p><p>License: <a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"http:\/\/en.wikipedia.org\/wiki\/Fair_use\">Fair Use<\/a><br>\n<\/p><\/div>"}</span></div></a></div>.</b> There's no setting in any iPhone or iPad web browser that lets you view a website's source code easily. Fortunately, there's an app for that! <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://apps.apple.com/us/app/view-source/id1041817284">View Source</a> is a small, easy-to-use app that lets you view and copy the source code of any website.
</div>
<div class="clearall"></div>
</li>
<li id="step-id-215">
<a name="step_3_2" class="stepanchor"></a><div class="mwimg largeimage floatcenter " style="max-width:728px"><a href="#/Image:Copy-Source-Code-Step-16.jpg" class="image"><div class="content-spacer" style="padding-top:75%">
<img alt="Image titled Copy Source Code Step 16" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/7/7d/Copy-Source-Code-Step-16.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-16.jpg" data-width="460" data-height="345" id="8146743092b46b1c122e5963e955e16f" data-src="https://www.wikihow.com/images/thumb/7/7d/Copy-Source-Code-Step-16.jpg/v4-460px-Copy-Source-Code-Step-16.jpg"><script>WH.shared.addScrollLoadItem('8146743092b46b1c122e5963e955e16f')</script>
</div>
<noscript><img alt="Image titled Copy Source Code Step 16" src="https://www.wikihow.com/images/thumb/7/7d/Copy-Source-Code-Step-16.jpg/v4-460px-Copy-Source-Code-Step-16.jpg" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/7/7d/Copy-Source-Code-Step-16.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-16.jpg" data-width="460" data-height="345" id="8146743092b46b1c122e5963e955e16f"></noscript>
<div class="image_details" style="display:none;"><span style="display:none;">{"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/7\/7d\/Copy-Source-Code-Step-16.jpg\/v4-460px-Copy-Source-Code-Step-16.jpg","bigUrl":"\/images\/thumb\/7\/7d\/Copy-Source-Code-Step-16.jpg\/aid12518057-v4-728px-Copy-Source-Code-Step-16.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><p>License: <a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"https:\/\/en.wikipedia.org\/wiki\/Fair_use\">Fair Use<\/a> (screenshot)<br>\n<\/p><\/div>"}</span></div></a></div>
<div class="step_num">2</div><div class="step">
<b class="whb">Open Safari (or your preferred web browser).</b> You can still use your regular browser to load the website you want to view.
</div>
<div class="clearall"></div>
</li>
<li id="step-id-216">
<a name="step_3_3" class="stepanchor"></a><div class="mwimg largeimage floatcenter " style="max-width:728px"><a href="#/Image:Copy-Source-Code-Step-17.jpg" class="image"><div class="content-spacer" style="padding-top:75%">
<img alt="Image titled Copy Source Code Step 17" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/2/2f/Copy-Source-Code-Step-17.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-17.jpg" data-width="460" data-height="345" id="6494256ffcdeb8481cb95ae06c507714" data-src="https://www.wikihow.com/images/thumb/2/2f/Copy-Source-Code-Step-17.jpg/v4-460px-Copy-Source-Code-Step-17.jpg"><script>WH.shared.addScrollLoadItem('6494256ffcdeb8481cb95ae06c507714')</script>
</div>
<noscript><img alt="Image titled Copy Source Code Step 17" src="https://www.wikihow.com/images/thumb/2/2f/Copy-Source-Code-Step-17.jpg/v4-460px-Copy-Source-Code-Step-17.jpg" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/2/2f/Copy-Source-Code-Step-17.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-17.jpg" data-width="460" data-height="345" id="6494256ffcdeb8481cb95ae06c507714"></noscript>
<div class="image_details" style="display:none;"><span style="display:none;">{"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/2\/2f\/Copy-Source-Code-Step-17.jpg\/v4-460px-Copy-Source-Code-Step-17.jpg","bigUrl":"\/images\/thumb\/2\/2f\/Copy-Source-Code-Step-17.jpg\/aid12518057-v4-728px-Copy-Source-Code-Step-17.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><p>License: <a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"https:\/\/en.wikipedia.org\/wiki\/Fair_use\">Fair Use<\/a> (screenshot)<br>\n<\/p><\/div>"}</span></div></a></div>
<div class="step_num">3</div><div class="step">
<b class="whb">Copy the URL.</b> Once you're on the page you want to view, tap the address bar at the top of the screen to select the URL. Then, tap it again to bring open the context menu and select <b>Copy</b>.
</div>
<div class="clearall"></div>
</li>
<li id="step-id-217">
<a name="step_3_4" class="stepanchor"></a><div class="mwimg largeimage floatcenter " style="max-width:728px"><a href="#/Image:Copy-Source-Code-Step-18.jpg" class="image"><div class="content-spacer" style="padding-top:75%">
<img alt="Image titled Copy Source Code Step 18" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/8/86/Copy-Source-Code-Step-18.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-18.jpg" data-width="460" data-height="345" id="df424cafe452a3483a7061fef700347b" data-src="https://www.wikihow.com/images/thumb/8/86/Copy-Source-Code-Step-18.jpg/v4-460px-Copy-Source-Code-Step-18.jpg"><script>WH.shared.addScrollLoadItem('df424cafe452a3483a7061fef700347b')</script>
</div>
<noscript><img alt="Image titled Copy Source Code Step 18" src="https://www.wikihow.com/images/thumb/8/86/Copy-Source-Code-Step-18.jpg/v4-460px-Copy-Source-Code-Step-18.jpg" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/8/86/Copy-Source-Code-Step-18.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-18.jpg" data-width="460" data-height="345" id="df424cafe452a3483a7061fef700347b"></noscript>
<div class="image_details" style="display:none;"><span style="display:none;">{"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/8\/86\/Copy-Source-Code-Step-18.jpg\/v4-460px-Copy-Source-Code-Step-18.jpg","bigUrl":"\/images\/thumb\/8\/86\/Copy-Source-Code-Step-18.jpg\/aid12518057-v4-728px-Copy-Source-Code-Step-18.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><p>License: <a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"https:\/\/en.wikipedia.org\/wiki\/Fair_use\">Fair Use<\/a> (screenshot)<br>\n<\/p><\/div>"}</span></div></a></div>
<div class="step_num">4</div><div class="step">
<b class="whb">Open the View Source app.</b> It's the purple icon with a black window, two brackets, and a semicolon. You'll find it on your home screen and/or your app library.
</div>
<div class="clearall"></div>
</li>
<li id="step-id-218">
<a name="step_3_5" class="stepanchor"></a><div class="mwimg largeimage floatcenter " style="max-width:728px"><a href="#/Image:Copy-Source-Code-Step-19.jpg" class="image"><div class="content-spacer" style="padding-top:75%">
<img alt="Image titled Copy Source Code Step 19" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/f/f4/Copy-Source-Code-Step-19.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-19.jpg" data-width="460" data-height="345" id="9bfcc05753f41161cabd35ebbd7e6af0" data-src="https://www.wikihow.com/images/thumb/f/f4/Copy-Source-Code-Step-19.jpg/v4-460px-Copy-Source-Code-Step-19.jpg"><script>WH.shared.addScrollLoadItem('9bfcc05753f41161cabd35ebbd7e6af0')</script>
</div>
<noscript><img alt="Image titled Copy Source Code Step 19" src="https://www.wikihow.com/images/thumb/f/f4/Copy-Source-Code-Step-19.jpg/v4-460px-Copy-Source-Code-Step-19.jpg" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/f/f4/Copy-Source-Code-Step-19.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-19.jpg" data-width="460" data-height="345" id="9bfcc05753f41161cabd35ebbd7e6af0"></noscript>
<div class="image_details" style="display:none;"><span style="display:none;">{"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/f\/f4\/Copy-Source-Code-Step-19.jpg\/v4-460px-Copy-Source-Code-Step-19.jpg","bigUrl":"\/images\/thumb\/f\/f4\/Copy-Source-Code-Step-19.jpg\/aid12518057-v4-728px-Copy-Source-Code-Step-19.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><p>License: <a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"https:\/\/en.wikipedia.org\/wiki\/Fair_use\">Fair Use<\/a> (screenshot)<br>\n<\/p><\/div>"}</span></div></a></div>
<div class="step_num">5</div><div class="step">
<b class="whb">Tap the address bar and select <span style="white-space: nowrap;"><b class="whb"><span class="nowrap" title="This is not a clickable button; it illustrates the button one should find." style="font-family:Lucida Sans Unicode,Lucida Grande,sans-serif;font-size:14px;padding:0em 1em; border:1px solid; border-color:#AAA #555 #555 #AAA; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; background-color: #F2F2F2; background-image: -moz-linear-gradient(top, #FCFCFC, #E0E0E0); background-image: -o-linear-gradient(top, #FCFCFC, #E0E0E0); background-image: -webkit-linear-gradient(top, #FCFCFC, #E0E0E0); background-image: linear-gradient(top, #FCFCFC, #E0E0E0);">Paste</span></b></span>.</b> This pastes the copied URL into the address bar in View Source.
</div>
<div class="clearall"></div>
</li>
<li id="step-id-219">
<a name="step_3_6" class="stepanchor"></a><div class="mwimg largeimage floatcenter " style="max-width:728px"><a href="#/Image:Copy-Source-Code-Step-20.jpg" class="image"><div class="content-spacer" style="padding-top:75%">
<img alt="Image titled Copy Source Code Step 20" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/9/95/Copy-Source-Code-Step-20.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-20.jpg" data-width="460" data-height="345" id="2be6eb5b513d3376671e76b72d2fd4e2" data-src="https://www.wikihow.com/images/thumb/9/95/Copy-Source-Code-Step-20.jpg/v4-460px-Copy-Source-Code-Step-20.jpg"><script>WH.shared.addScrollLoadItem('2be6eb5b513d3376671e76b72d2fd4e2')</script>
</div>
<noscript><img alt="Image titled Copy Source Code Step 20" src="https://www.wikihow.com/images/thumb/9/95/Copy-Source-Code-Step-20.jpg/v4-460px-Copy-Source-Code-Step-20.jpg" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/9/95/Copy-Source-Code-Step-20.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-20.jpg" data-width="460" data-height="345" id="2be6eb5b513d3376671e76b72d2fd4e2"></noscript>
<div class="image_details" style="display:none;"><span style="display:none;">{"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/9\/95\/Copy-Source-Code-Step-20.jpg\/v4-460px-Copy-Source-Code-Step-20.jpg","bigUrl":"\/images\/thumb\/9\/95\/Copy-Source-Code-Step-20.jpg\/aid12518057-v4-728px-Copy-Source-Code-Step-20.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><p>License: <a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"https:\/\/en.wikipedia.org\/wiki\/Fair_use\">Fair Use<\/a> (screenshot)<br>\n<\/p><\/div>"}</span></div></a></div>
<div class="step_num">6</div><div class="step">
<b class="whb">Tap the <span style="white-space: nowrap;"><b class="whb"><span class="nowrap" title="This is not a clickable button; it illustrates the button one should find." style="font-family:Lucida Sans Unicode,Lucida Grande,sans-serif;font-size:14px;padding:0em 1em; border:1px solid; border-color:#AAA #555 #555 #AAA; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; background-color: #F2F2F2; background-image: -moz-linear-gradient(top, #FCFCFC, #E0E0E0); background-image: -o-linear-gradient(top, #FCFCFC, #E0E0E0); background-image: -webkit-linear-gradient(top, #FCFCFC, #E0E0E0); background-image: linear-gradient(top, #FCFCFC, #E0E0E0);">go</span></b></span> key on the keyboard.</b> This displays the source code for the URL you entered.
</div>
<div class="clearall"></div>
</li>
<li id="step-id-220">
<a name="step_3_7" class="stepanchor"></a><div class="mwimg largeimage floatcenter " style="max-width:728px"><a href="#/Image:Copy-Source-Code-Step-21.jpg" class="image"><div class="content-spacer" style="padding-top:75%">
<img alt="Image titled Copy Source Code Step 21" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/8/86/Copy-Source-Code-Step-21.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-21.jpg" data-width="460" data-height="345" id="0a30840aa1252cf1cff5b8e853ac64e0" data-src="https://www.wikihow.com/images/thumb/8/86/Copy-Source-Code-Step-21.jpg/v4-460px-Copy-Source-Code-Step-21.jpg"><script>WH.shared.addScrollLoadItem('0a30840aa1252cf1cff5b8e853ac64e0')</script>
</div>
<noscript><img alt="Image titled Copy Source Code Step 21" src="https://www.wikihow.com/images/thumb/8/86/Copy-Source-Code-Step-21.jpg/v4-460px-Copy-Source-Code-Step-21.jpg" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/8/86/Copy-Source-Code-Step-21.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-21.jpg" data-width="460" data-height="345" id="0a30840aa1252cf1cff5b8e853ac64e0"></noscript>
<div class="image_details" style="display:none;"><span style="display:none;">{"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/8\/86\/Copy-Source-Code-Step-21.jpg\/v4-460px-Copy-Source-Code-Step-21.jpg","bigUrl":"\/images\/thumb\/8\/86\/Copy-Source-Code-Step-21.jpg\/aid12518057-v4-728px-Copy-Source-Code-Step-21.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><p>License: <a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"https:\/\/en.wikipedia.org\/wiki\/Fair_use\">Fair Use<\/a> (screenshot)<br>\n<\/p><\/div>"}</span></div></a></div>
<div class="step_num">7</div><div class="step">
<b class="whb">Tap and hold any word in the source code.</b> This highlights that word and surrounds it by bounding handles.
</div>
<div class="clearall"></div>
</li>
<li id="step-id-221">
<a name="step_3_8" class="stepanchor"></a><div class="mwimg largeimage floatcenter " style="max-width:728px"><a href="#/Image:Copy-Source-Code-Step-22.jpg" class="image"><div class="content-spacer" style="padding-top:75%">
<img alt="Image titled Copy Source Code Step 22" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/2/2e/Copy-Source-Code-Step-22.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-22.jpg" data-width="460" data-height="345" id="a5c579338226fcd01cd8028ba8863d3d" data-src="https://www.wikihow.com/images/thumb/2/2e/Copy-Source-Code-Step-22.jpg/v4-460px-Copy-Source-Code-Step-22.jpg"><script>WH.shared.addScrollLoadItem('a5c579338226fcd01cd8028ba8863d3d')</script>
</div>
<noscript><img alt="Image titled Copy Source Code Step 22" src="https://www.wikihow.com/images/thumb/2/2e/Copy-Source-Code-Step-22.jpg/v4-460px-Copy-Source-Code-Step-22.jpg" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/2/2e/Copy-Source-Code-Step-22.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-22.jpg" data-width="460" data-height="345" id="a5c579338226fcd01cd8028ba8863d3d"></noscript>
<div class="image_details" style="display:none;"><span style="display:none;">{"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/2\/2e\/Copy-Source-Code-Step-22.jpg\/v4-460px-Copy-Source-Code-Step-22.jpg","bigUrl":"\/images\/thumb\/2\/2e\/Copy-Source-Code-Step-22.jpg\/aid12518057-v4-728px-Copy-Source-Code-Step-22.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><p>License: <a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"https:\/\/en.wikipedia.org\/wiki\/Fair_use\">Fair Use<\/a> (screenshot)<br>\n<\/p><\/div>"}</span></div></a></div>
<div class="step_num">8</div><div class="step">
<b class="whb">Drag the bounding handles to select all of the source code.</b> To do this, drag the leftmost bounding handle all the way to the beginning of the page, and the rightmost handle all the way to the end. A small toolbar will appear once you're finished.
</div>
<div class="clearall"></div>
</li>
<li class="final_li" id="step-id-222">
<a name="step_3_9" class="stepanchor"></a><div class="mwimg largeimage floatcenter " style="max-width:728px"><a href="#/Image:Copy-Source-Code-Step-23.jpg" class="image"><div class="content-spacer" style="padding-top:75%">
<img alt="Image titled Copy Source Code Step 23" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/f/ff/Copy-Source-Code-Step-23.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-23.jpg" data-width="460" data-height="345" id="0925ade0e9353b6b09428b55a7a9f818" data-src="https://www.wikihow.com/images/thumb/f/ff/Copy-Source-Code-Step-23.jpg/v4-460px-Copy-Source-Code-Step-23.jpg"><script>WH.shared.addScrollLoadItem('0925ade0e9353b6b09428b55a7a9f818')</script>
</div>
<noscript><img alt="Image titled Copy Source Code Step 23" src="https://www.wikihow.com/images/thumb/f/ff/Copy-Source-Code-Step-23.jpg/v4-460px-Copy-Source-Code-Step-23.jpg" decoding="async" class="whcdn content-fill" data-srclarge="/images/thumb/f/ff/Copy-Source-Code-Step-23.jpg/aid12518057-v4-728px-Copy-Source-Code-Step-23.jpg" data-width="460" data-height="345" id="0925ade0e9353b6b09428b55a7a9f818"></noscript>
<div class="image_details" style="display:none;"><span style="display:none;">{"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/f\/ff\/Copy-Source-Code-Step-23.jpg\/v4-460px-Copy-Source-Code-Step-23.jpg","bigUrl":"\/images\/thumb\/f\/ff\/Copy-Source-Code-Step-23.jpg\/aid12518057-v4-728px-Copy-Source-Code-Step-23.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><p>License: <a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"https:\/\/en.wikipedia.org\/wiki\/Fair_use\">Fair Use<\/a> (screenshot)<br>\n<\/p><\/div>"}</span></div></a></div>
<div class="step_num">9</div><div class="step">
<b class="whb">Tap <span style="white-space: nowrap;"><b class="whb"><span class="nowrap" title="This is not a clickable button; it illustrates the button one should find." style="font-family:Lucida Sans Unicode,Lucida Grande,sans-serif;font-size:14px;padding:0em 1em; border:1px solid; border-color:#AAA #555 #555 #AAA; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; background-color: #F2F2F2; background-image: -moz-linear-gradient(top, #FCFCFC, #E0E0E0); background-image: -o-linear-gradient(top, #FCFCFC, #E0E0E0); background-image: -webkit-linear-gradient(top, #FCFCFC, #E0E0E0); background-image: linear-gradient(top, #FCFCFC, #E0E0E0);">Copy</span></b></span> on the menu.</b> If it doesn't pop up on its own, tap and hold the highlighted area so it appears, and then select <b>Copy</b>. Once the source code is copied to the clipboard, you can paste it into any app you want, such as the Notes app or an email message.
<ul><li>To paste, tap and hold a typing area and select <b>Paste</b>.</li></ul>
</div>
<div class="clearall"></div>
<div class="wh_ad_inner w_label al_grey" data-service="adsense" data-slot="7710650179" data-width="728" data-height="90" data-smallheight="250" data-type="method" data-small="1" data-medium="1" data-channels="5232454650" data-mediumchannels="3005955957" data-smallchannels="2811805837" data-mobilechannels="7928712280,6429618073" data-observerloading="1" data-sizes-array="0" data-gptdisplaylate="1">
<div id="mobilemethod_ad_3"></div>
<div class="al_method">Advertisement</div>
</div>
<script>WH.ads.addBodyAd('mobilemethod_ad_3')</script>
</li>
</ol>
<div class="clearall"></div>
</div>
</div>
<a name="Questions_and_Answers_sub" class="anchor"></a>
<div class="qa section sticky qa_no_answered" data-few_contribs="1" data-search_enabled="0" data-aid="12518057" data-answers-count="0" data-expert-answers-count="0" data-staff-answers-count="0" data-purchase-group="" data-purchase-type="" data-obscure-answers="0" data-obscure-answers-type="" data-purchase-obscured-cta-header="" data-purchase-obscured-cta-prompt="" data-obscured-answer-header="" data-obscured-answer-prompt="" data-obscured-answer-link="" data-purchase-obscured-answer-header="Support wikiHow by" data-purchase-obscured-answer-prompt="unlocking this expert answer." data-purchase-obscured-answer-link="#">
<h2 class="qa_heading">
<div class="altblock"></div>
<span class="mw-headline" id="qa_headline">
Community Q&A
</span>
</h2>
<div id="qa" class="section_text">
<div id="qa_answered_questions_container">
<div id="qa_aq_search_container">
<div id="qa_aq_search_heading" class="qa_section_heading">Search</div>
<input class="qa_aq_search" placeholder="Type your query here">
</div>
<a id="qa_add_curated_question">Add New Question</a>
<ul id="qa_article_questions" class="qa_questions qa_aqs "></ul>
</div>
<div class="qa_divider qa_no_unpatrolled_questions"></div>
<div class="qa_divider qa_no_visible_answers"></div>
<div class="qa_section_heading" id="qa_ask_heading">Ask a Question</div>
<div id="qa_submitted_question_form">
<input id="qa_asked_question" type="text" maxlength="200" placeholder="What is your question?"><div id="qa_asked_count">200 characters left</div>
<input id="qa_email" type="text" placeholder="Email address (optional)"><div id="qa_email_prompt">Include your email address to get a message when this question is answered.</div>
<a id="qa_submit_button" class="button primary">Submit</a>
</div>
<div id="qa_flag_options" data-type="">
<div class="hint_box">
<ul></ul>
</div>
</div>
<div id="qa_answer_flag_options" data-type="">
<div class="hint_box">
<ul></ul>
</div>
</div>
<!-- Template form for creating/updating a curated question -->
<script id="qa_question_edit_form" type="text/x-handlebars-template">
<div class="qa_aq_edit_form">
<div class="qa_aq_edit_form_status"></div>
<textarea class="qa_cq_text" spellcheck="true" placeholder="{{qa_edit_form_question_placeholder}}">{{qa_edit_form_question}}</textarea>
<div class="qa_invalid_msg qa_cq_text_error qap_char_limit">{{qa_cq_text_error}}</div>
<textarea class="qa_ca_text" spellcheck="true" placeholder="{{qa_edit_form_answer_placeholder}}">{{qa_edit_form_answer}}</textarea>
<div class="qa_invalid_msg qa_ca_text_error qap_char_limit">{{qa_ca_text_error}}</div>
<div class="qa_invalid_msg qa_ca_text_error2 qap_char_limit">{{qa_ca_text_min}}</div>
<div class="qa_invalid_msg qa_ca_text_error3 qap_char_limit">{{qa_ca_error_url}}</div>
<div class="qa_invalid_msg qa_ca_text_error_phone qap_char_limit">{{qa_ca_error_phone}}</div>
<input class="qa_pa_email" placeholder="{{qa_pa_email_placeholder}}"/>
{{#qa_admin}}
<span class="qa_edit_form_verifier_container">
{{qa_edit_form_verifier_label}}
<select class="qa_edit_form_verifier">
{{#qa_edit_form_verifiers}}
<option value="{{id}}" {{selected}}>{{name}}</option>
{{/qa_edit_form_verifiers}}
</select>
</span>
{{#qa_edit_form_show_remove_submitter}}
<span class="qa_edit_form_remove_submitter_container">
<label for="qa_aq_remove_submitter">{{qa_edit_form_remove_submitter}}</label> <input type="checkbox" id="qa_aq_remove_submitter" class="qa_checkbox" />
</span>
{{/qa_edit_form_show_remove_submitter}}
{{/qa_admin}}
<span class="qa_edit_form_inactive_container">
<label for="qa_aq_inactive">{{qa_edit_form_inactive}}</label> <input type="checkbox" id="qa_aq_inactive" class="qa_checkbox" {{qa_edit_form_inactive_val}}>
</span>
<div class="clearall"></div>
{{#qa_admin}}<a class="qa_aq_delete button primary">{{qa_edit_form_delete}}</a>{{/qa_admin}}
<a class="qa_aq_submit button primary">{{qa_edit_form_submit}}</a>
<span class="qa_spinner"></span>
<a class="qa_aq_cancel button secondary">{{qa_edit_form_cancel}}</a>
</div>
</script><!-- Template for rendering a desktop ArticleQuestion --><script id="qa_article_question_item" type="text/x-handlebars-template">
<li id="qa_question_{{rank}}" class="qa_aq qa_block {{#inactive}}qa_inactive{{/inactive}}" data-aqid="{{id}}" data-cqid="{{curatedQuestion.id}}" data-caid="{{curatedQuestion.curatedAnswer.id}}" data-sqid="{{curatedQuestion.submittedId}}" data-qa_inactive="{{inactive}}" data-votes_up="{{votesUp}}" data-votes_down="{{votesDown}}" data-verifier_id="{{verifierId}}" data-submitter_id="{{submitterUserId}}">
<div class="qa_divider"></div>
<div class="qa_li_container">
<div class="qa_question_tab">{{qa_question_label}}</div>
<div class="qa_q_txt{{#qa_desktop}} question{{/qa_desktop}}">{{{curatedQuestion.text}}}</div>
{{#qa_staff}}<div class="qa_staff_info">{{staffInfo}}</div>{{/qa_staff}}
{{#show_editor_tools}}
<div class="qa_editor_tools">
<a class="qa_edit_aq">{{qa_edit}}</a>
</div>
{{/show_editor_tools}}
<div class="qa_answers">
<div class="{{qa_answerer_class}}">
{{#show_badge}}<div class="qa_badge"></div>{{/show_badge}}
{{^qa_amp}}
<div class="qa_user_hover hint_box">
{{#verifierId}}{{> qa_expert_hover.mustache}}{{/verifierId}}
{{#staffAnswerer}}{{> qa_staff_hover.mustache}}{{/staffAnswerer}}
</div>
{{/qa_amp}}
{{#verifierId}}
{{#verifierData.articleReviewersUrl}}
<a href="{{verifierData.articleReviewersUrl}}" class="sp_namelink qa_person_circle" target="_blank">{{{verifierData.imageHtml}}}</a>
{{/verifierData.articleReviewersUrl}}
{{^verifierData.articleReviewersUrl}}
<div class="sp_namelink qa_person_circle">{{{verifierData.imageHtml}}}</div>
{{/verifierData.articleReviewersUrl}}
{{/verifierId}}
{{^verifierId}}
<div class="qa_person_circle">
<picture>
<source type="image/webp" srcset="{{avatarUrl}}.webp" />
<img src="{{avatarUrl}}" width="{{avatarWidth}}" height="{{avatarHeight}}" style="max-width:{{avatarWidth}}px" loading="lazy" alt="{{submitterTextName}}" />
</picture>
</div>
{{/verifierId}}
<div class="qa_answerer_info">
{{#verifierId}}
<div class="qa_user_name">
{{#verifierData.articleReviewersUrl}}
<a href="{{verifierData.articleReviewersUrl}}" target="_blank">{{verifierData.name}}</a>
{{/verifierData.articleReviewersUrl}}
{{^verifierData.articleReviewersUrl}}
{{verifierData.name}}
{{/verifierData.articleReviewersUrl}}
</div>
<div class="qa_user_title">{{{verifierData.blurb}}}</div>
{{/verifierId}}
{{^verifierId}}
<div class="qa_user_name">{{{submitterDisplayName}}}</div>
{{/verifierId}}
<div class="qa_user_label">{{qa_answerer_label}}</div>
{{#isTopAnswerer}}{{^qa_desktop}}<div class="qa_ta_mobile_extra"></div>{{/qa_desktop}}{{/isTopAnswerer}}
</div>
</div>
<div class="qa_answer answer {{#obscureAnswer}}{{#staffAnswerer}} qa_obscured_answer qa_obscured_answer_staff{{/staffAnswerer}}{{/obscureAnswer}}{{#obscureAnswers}}{{#verifierId}} qa_obscured_answer qa_obscured_answer_expert qa_obscured_answer_{{obscureAnswersType}}{{/verifierId}}{{/obscureAnswers}}{{#obscureAnswers}}{{#staffAnswerer}} qa_obscured_answer qa_obscured_answer_{{obscureAnswersType}}{{/staffAnswerer}}{{/obscureAnswers}}">
{{#obscureAnswers}}
{{#staffAnswerer}}
<a href="{{qa_purchase_obscured_answer_link}}" class="qa_obscured_prompt">
<div class="qa_obscured_answer_overlay">
{{#qa_amp}}
<amp-img class="qa_obscured_answer_overlay_img" src="/extensions/wikihow/qa/widget/assets/icon-lock.svg" width="37" height="46" />
{{/qa_amp}}
{{^qa_amp}}
<img class="qa_obscured_answer_overlay_img" src="/extensions/wikihow/qa/widget/assets/icon-lock.svg" />
{{/qa_amp}}
<p>
{{qa_purchase_obscured_answer_staff_header}}
<strong>{{qa_purchase_obscured_answer_staff_prompt}}</strong>
</p>
</div>
</a>
{{/staffAnswerer}}
{{#verifierId}}
<a href="{{qa_purchase_obscured_answer_link}}" class="qa_obscured_prompt">
<div class="qa_obscured_answer_overlay">
{{#qa_amp}}
<amp-img class="qa_obscured_answer_overlay_img" src="/extensions/wikihow/qa/widget/assets/icon-lock.svg" width="37" height="46" />
{{/qa_amp}}
{{^qa_amp}}
<img class="qa_obscured_answer_overlay_img" src="/extensions/wikihow/qa/widget/assets/icon-lock.svg" />
{{/qa_amp}}
<p>
{{qa_purchase_obscured_answer_header}}
<strong>{{qa_purchase_obscured_answer_prompt}}</strong>
</p>
</div>
</a>
{{/verifierId}}
{{/obscureAnswers}}
{{{curatedQuestion.curatedAnswer.text}}}
</div>
{{^qa_amp}}
<div class="qa_answer_footer">
{{^qa_hide_ratings}}{{> thumbs_qa_widget}}{{/qa_hide_ratings}}
{{^qa_anon}}
<a class="qa_ignore_answered" href="#">{{qa_flag_duplicate}}</a>
<p class="qa_ignore_answered_thanks">Thanks!</p>
{{/qa_anon}}
</div>
{{/qa_amp}}
</div>
</div>
</li>
</script><!-- Template for rendering an unpatrolled QA --><!-- Template form for desktop thumbs up/down functionality --><script id="qa_thumbs_qa_widget" type="text/x-handlebars-template">
<div class="wh_vote_container qa_vote_buttons">
<span class='wh_thumb_response wh_thumb_msg'>{{thumbs_response}}</span>
<div class="qa_widget_vote_links">
<a href="#" class="wh_vote_up wh_vote_box button secondary">{{qa_thumbs_yes}}</a>
<a href="#" class="wh_vote_down wh_vote_box button secondary">{{qa_thumbs_no}}</a>
</div>
<div class="qa_widget_vote_buttons">
<a href="#" class="wh_vote_down wh_vote_box">{{qa_thumbs_nohelp}} <span>{{votesDown}}</span></a>
<a href="#" class="wh_vote_up wh_vote_box">{{qa_thumbs_help}} <span>{{votesUp}}</span></a>
</div>
</div>
</script><!-- Template for rendering a Top Answerers data --><script id="top_answerers_qa_widget" type="text/x-handlebars-template">
<div class="qa_person_circle">
{{{ta_image}}}
</div>
<div class='qa_ta_name'>
<span>
{{userName}}, {{ta_label}}
</span><br />
{{answersCount}} {{ta_answers_label}}
</div>
<div class="qa_ta_cats">
{{#topCats.0}}
{{ta_subcats_intro}}
{{#topCats}}<a href="{{cat_link}}" class="click_out">{{cat}}</a>, {{/topCats}}
{{ta_subcats_outro}}
{{/topCats.0}}
</div>
</script><br><div class="wh_ad_inner w_label al_grey" data-service="adsense" data-slot="4167749029" data-width="728" data-height="90" data-smallslot="1240030252" data-smallheight="250" data-type="qa" data-small="1" data-medium="1" data-channels="5232454650" data-largechannels="9818776313" data-mediumchannels="3005955957" data-smallchannels="2811805837" data-mobilechannels="7928712280,6429618073" data-observerloading="1" data-sizes-array="0" data-gptdisplaylate="1">
<div id="mobileqa_ad_1"></div>
<div class="al_method">Advertisement</div>
</div>
<script>WH.ads.addBodyAd('mobileqa_ad_1')</script>
</div>
</div>
</div>
<div class="mf-section-2 collapsible-block" id="mf-section-2">
</div>
<div class="mf-section-3 collapsible-block" id="mf-section-3">
</div>
</div>
</div>
<div class="printfooter">
</div>
<div id="rmb_container" class="section_text" style="display:none"><input type="button" class="button primary" id="rmbutton" value="Read More"></div>
<div class="section relatedwikihows sticky">
<h2><span class="mw-headline" id="Related_wikiHows">Related wikiHows</span></h2>
<div id="relatedwikihows" class="section_text">
<a class="related-wh" href="/Insert-Spaces-in-HTML"><div class="content-spacer">
<video id="10346c974e2f88fff387067ad6c46068" class="scrolldefer content-fill" data-src="/7/7d/Insert Spaces in HTML Step 12.360p.mp4" alt="Insert Spaces in HTML" width="342" height="184" playsinline="" webkit-playsinline="" muted="" data-poster="https://www.wikihow.com/images/thumb/6/63/Insert-Spaces-in-HTML-Step-9-Version-2.jpg/-crop-342-184-327px-Insert-Spaces-in-HTML-Step-9-Version-2.jpg" loop=""></video><span class="related-wh-title"><div class="related-wh-howto">How to</div>Insert Spaces in HTML</span>
</div>
<script>WH.shared.addScrollLoadItem('10346c974e2f88fff387067ad6c46068')</script><noscript><img src="https://www.wikihow.com/images/thumb/6/63/Insert-Spaces-in-HTML-Step-9-Version-2.jpg/-crop-342-184-327px-Insert-Spaces-in-HTML-Step-9-Version-2.jpg"></noscript></a><a class="related-wh" href="/Create-a-Simple-Web-Page-with-HTML"><div class="content-spacer">
<img id="86f8da583025e6e7e5224c54f7ec24dd" class="scrolldefer content-fill" alt="Create a Simple Web Page with HTML" width="342" height="184" data-src="https://www.wikihow.com/images/thumb/b/b3/4082-29-2.jpg/-crop-342-184-245px-4082-29-2.jpg"><span class="related-wh-title"><div class="related-wh-howto">How to</div>Create a Simple Web Page with HTML</span>
</div>
<script>WH.shared.addScrollLoadItem('86f8da583025e6e7e5224c54f7ec24dd')</script><noscript><img src="https://www.wikihow.com/images/thumb/b/b3/4082-29-2.jpg/-crop-342-184-245px-4082-29-2.jpg"></noscript></a><div class="wh_ad_inner" data-service="adsense" data-smallslot="3859396687" data-smallheight="250" data-type="middlerelated" data-small="1" data-channels="5232454650" data-mediumchannels="3005955957" data-smallchannels="2811805837" data-mobilechannels="7928712280,6429618073" data-observerloading="1" data-sizes-array="0" data-gptdisplaylate="1"><div id="middlerelated_ad_1"></div></div>
<script>WH.ads.addBodyAd('middlerelated_ad_1')</script><a class="related-wh" href="/Create-an-Email-Link-in-HTML"><div class="content-spacer">
<img id="5098695b6be617c496d4ea84c32e3a2f" class="scrolldefer content-fill" alt="Create an Email Link in HTML" width="342" height="184" data-src="https://www.wikihow.com/images/thumb/0/03/Create-an-Email-Link-in-HTML-Step-8.jpg/-crop-342-184-245px-Create-an-Email-Link-in-HTML-Step-8.jpg"><span class="related-wh-title"><div class="related-wh-howto">How to</div>Create an Email Link in HTML</span>
</div>
<script>WH.shared.addScrollLoadItem('5098695b6be617c496d4ea84c32e3a2f')</script><noscript><img src="https://www.wikihow.com/images/thumb/0/03/Create-an-Email-Link-in-HTML-Step-8.jpg/-crop-342-184-245px-Create-an-Email-Link-in-HTML-Step-8.jpg"></noscript></a><a class="related-wh" href="/Set-a-Background-Image-in-HTML"><div class="content-spacer">
<img id="0c7ac8347aa163d83d24c45d214360f5" class="scrolldefer content-fill" alt="Set a Background Image in HTML" width="342" height="184" data-src="https://www.wikihow.com/images/thumb/f/f7/2627945-32-3.jpg/-crop-342-184-245px-2627945-32-3.jpg"><span class="related-wh-title"><div class="related-wh-howto">How to</div>Set a Background Image in HTML</span>
</div>
<script>WH.shared.addScrollLoadItem('0c7ac8347aa163d83d24c45d214360f5')</script><noscript><img src="https://www.wikihow.com/images/thumb/f/f7/2627945-32-3.jpg/-crop-342-184-245px-2627945-32-3.jpg"></noscript></a><a class="related-wh" href="/Change-the-Button-Color-in-HTML"><div class="content-spacer">
<img id="343485484139491accfea651d4b12e3c" class="scrolldefer content-fill" alt="Change the Button Color in HTML" width="342" height="184" data-src="https://www.wikihow.com/images/thumb/8/8b/11147764-28.jpg/-crop-342-184-247px-11147764-28.jpg"><span class="related-wh-title"><div class="related-wh-howto">How to</div>Change the Button Color in HTML</span>
</div>
<script>WH.shared.addScrollLoadItem('343485484139491accfea651d4b12e3c')</script><noscript><img src="https://www.wikihow.com/images/thumb/8/8b/11147764-28.jpg/-crop-342-184-247px-11147764-28.jpg"></noscript></a><a class="related-wh" href="/Insert-Images-with-HTML"><div class="content-spacer">
<img id="5ee3e9cf2a7fd215e440c85e535816b8" class="scrolldefer content-fill" alt="Insert Images with HTML" width="342" height="184" data-src="https://www.wikihow.com/images/thumb/3/38/Insert-Images-with-HTML-Part-2-Step-3.jpg/-crop-342-184-268px-Insert-Images-with-HTML-Part-2-Step-3.jpg"><span class="related-wh-title"><div class="related-wh-howto">How to</div>Insert Images with HTML</span>
</div>
<script>WH.shared.addScrollLoadItem('5ee3e9cf2a7fd215e440c85e535816b8')</script><noscript><img src="https://www.wikihow.com/images/thumb/3/38/Insert-Images-with-HTML-Part-2-Step-3.jpg/-crop-342-184-268px-Insert-Images-with-HTML-Part-2-Step-3.jpg"></noscript></a><a class="related-wh" href="/Get-the-Hex-Code-of-a-Color-on-Your-Computer-Screen"><div class="content-spacer">
<img id="37b1549be0f02a3dddb08eb0d88bec63" class="scrolldefer content-fill" alt="Get the Hex Code of a Color on Your Computer Screen" width="342" height="184" data-src="https://www.wikihow.com/images/thumb/6/6c/Get-the-Hex-Code-of-a-Color-on-Your-Computer-Screen-Step-23.jpg/-crop-342-184-246px-Get-the-Hex-Code-of-a-Color-on-Your-Computer-Screen-Step-23.jpg"><span class="related-wh-title"><div class="related-wh-howto">How to</div>Get the Hex Code of a Color on Your Computer Screen</span>
</div>
<script>WH.shared.addScrollLoadItem('37b1549be0f02a3dddb08eb0d88bec63')</script><noscript><img src="https://www.wikihow.com/images/thumb/6/6c/Get-the-Hex-Code-of-a-Color-on-Your-Computer-Screen-Step-23.jpg/-crop-342-184-246px-Get-the-Hex-Code-of-a-Color-on-Your-Computer-Screen-Step-23.jpg"></noscript></a><a class="related-wh" href="/Add-a-Link-to-a-Picture"><div class="content-spacer">
<img id="8edfe022aa63143abb30170c5a289848" class="scrolldefer content-fill" alt="Add a Link to a Picture" width="342" height="184" data-src="https://www.wikihow.com/images/thumb/4/47/769114-10.jpg/-crop-342-184-245px-769114-10.jpg"><span class="related-wh-title"><div class="related-wh-howto">How to</div>Add a Link to a Picture</span>
</div>
<script>WH.shared.addScrollLoadItem('8edfe022aa63143abb30170c5a289848')</script><noscript><img src="https://www.wikihow.com/images/thumb/4/47/769114-10.jpg/-crop-342-184-245px-769114-10.jpg"></noscript></a><a class="related-wh" href="/Set-Background-Color-in-HTML"><div class="content-spacer">
<img id="a9fbaf5993c729f8514b8b578c348ae8" class="scrolldefer content-fill" alt="Set Background Color in HTML" width="342" height="184" data-src="https://www.wikihow.com/images/thumb/6/6e/2609629-20-2.jpg/-crop-342-184-245px-2609629-20-2.jpg"><span class="related-wh-title"><div class="related-wh-howto">How to</div>Set Background Color in HTML</span>
</div>
<script>WH.shared.addScrollLoadItem('a9fbaf5993c729f8514b8b578c348ae8')</script><noscript><img src="https://www.wikihow.com/images/thumb/6/6e/2609629-20-2.jpg/-crop-342-184-245px-2609629-20-2.jpg"></noscript></a><a class="related-wh" href="/Run-a-HTML-File"><div class="content-spacer">
<img id="6c6f252ab887b5026aa94c10c32d1e1d" class="scrolldefer content-fill" alt="Run a HTML File" width="342" height="184" data-src="https://www.wikihow.com/images/thumb/d/db/Run-a-HTML-File-Step-12.jpg/-crop-342-184-245px-Run-a-HTML-File-Step-12.jpg"><span class="related-wh-title"><div class="related-wh-howto">How to</div>Run a HTML File</span>
</div>
<script>WH.shared.addScrollLoadItem('6c6f252ab887b5026aa94c10c32d1e1d')</script><noscript><img src="https://www.wikihow.com/images/thumb/d/db/Run-a-HTML-File-Step-12.jpg/-crop-342-184-245px-Run-a-HTML-File-Step-12.jpg"></noscript></a><a class="related-wh" href="/Create-a-Calculator-Using-HTML"><div class="content-spacer">
<img id="3341ae42c5d93e8dc9fbef239cf2154c" class="scrolldefer content-fill" alt="Create a Calculator Using HTML" width="342" height="184" data-src="https://www.wikihow.com/images/thumb/2/28/Create-a-Calculator-Using-HTML-Step-9-Version-2.jpg/-crop-342-184-245px-Create-a-Calculator-Using-HTML-Step-9-Version-2.jpg"><span class="related-wh-title"><div class="related-wh-howto">How to</div>Create a Calculator Using HTML</span>
</div>
<script>WH.shared.addScrollLoadItem('3341ae42c5d93e8dc9fbef239cf2154c')</script><noscript><img src="https://www.wikihow.com/images/thumb/2/28/Create-a-Calculator-Using-HTML-Step-9-Version-2.jpg/-crop-342-184-245px-Create-a-Calculator-Using-HTML-Step-9-Version-2.jpg"></noscript></a><a class="related-wh" href="/Change-Text-Color-in-HTML"><div class="content-spacer">
<img id="5042489a62753a1be29fde8e009151fa" class="scrolldefer content-fill" alt="Change Text Color in HTML" width="342" height="184" data-src="https://www.wikihow.com/images/thumb/7/76/157292-13.jpg/-crop-342-184-245px-157292-13.jpg"><span class="related-wh-title"><div class="related-wh-howto">How to</div>Change Text Color in HTML</span>
</div>
<script>WH.shared.addScrollLoadItem('5042489a62753a1be29fde8e009151fa')</script><noscript><img src="https://www.wikihow.com/images/thumb/7/76/157292-13.jpg/-crop-342-184-245px-157292-13.jpg"></noscript></a><a class="related-wh" href="/Edit-HTML-Files"><div class="content-spacer">
<img id="39f840e0c623f96ce193c599a2a85015" class="scrolldefer content-fill" alt="Edit HTML Files" width="342" height="184" data-src="https://www.wikihow.com/images/thumb/3/3a/Edit-HTML-Files-Step-41.jpg/-crop-342-184-245px-Edit-HTML-Files-Step-41.jpg"><span class="related-wh-title"><div class="related-wh-howto">How to</div>Edit HTML Files</span>
</div>
<script>WH.shared.addScrollLoadItem('39f840e0c623f96ce193c599a2a85015')</script><noscript><img src="https://www.wikihow.com/images/thumb/3/3a/Edit-HTML-Files-Step-41.jpg/-crop-342-184-245px-Edit-HTML-Files-Step-41.jpg"></noscript></a><a class="related-wh" href="/Insert-a-Line-in-HTML"><div class="content-spacer">
<img id="fbcb7c3f7e3cd0f5968bcd16fbd0e1f5" class="scrolldefer content-fill" alt="Insert a Line in HTML" width="342" height="184" data-src="https://www.wikihow.com/images/thumb/6/68/658928-8-1.jpg/-crop-342-184-245px-658928-8-1.jpg"><span class="related-wh-title"><div class="related-wh-howto">How to</div>Insert a Line in HTML</span>
</div>
<script>WH.shared.addScrollLoadItem('fbcb7c3f7e3cd0f5968bcd16fbd0e1f5')</script><noscript><img src="https://www.wikihow.com/images/thumb/6/68/658928-8-1.jpg/-crop-342-184-245px-658928-8-1.jpg"></noscript></a><div class="clearall"></div>
<div class="wh_ad_inner w_label al_grey" data-service="adsense" data-slot="3648874275" data-width="728" data-height="90" data-smallslot="9047782573" data-smallheight="250" data-type="related" data-small="1" data-medium="1" data-channels="5232454650" data-largechannels="9818776313" data-mediumchannels="3005955957" data-smallchannels="2811805837" data-mobilechannels="7928712280,6429618073" data-observerloading="1" data-sizes-array="0" data-gptdisplaylate="1">
<div id="mobilerelated_ad_1"></div>
<div class="al_method">Advertisement</div>
</div>
<script>WH.ads.addBodyAd('mobilerelated_ad_1')</script>
</div>
</div>
<div class="section references sourcesandcitations sticky">
<h2 class="section-heading">
<div class="mw-ui-icon mw-ui-icon-element indicator" id="references_first"></div>
<span class="mw-headline" id="References">References</span>
</h2>
<div id="references" class="section_text"><ol class="firstref references">
<li id="_note-1">
<a href="#_ref-1" target="_blank">↑</a> <span class="reference-text"><a target="_blank" rel="nofollow noreferrer noopener" class="external free" href="https://support.apple.com/guide/safari/use-the-developer-tools-in-the-develop-menu-sfri20948/mac">https://support.apple.com/guide/safari/use-the-developer-tools-in-the-develop-menu-sfri20948/mac</a></span>
</li>
<li id="_note-2">
<a href="#_ref-2" target="_blank">↑</a> <span class="reference-text"><a target="_blank" rel="nofollow noreferrer noopener" class="external free" href="https://www.webnots.com/view-webpage-source-css-in-google-chrome/">https://www.webnots.com/view-webpage-source-css-in-google-chrome/</a></span>
</li>
<li id="_note-3">
<a href="#_ref-3" target="_blank">↑</a> <span class="reference-text"><a target="_blank" rel="nofollow noreferrer noopener" class="external free" href="https://www.tutsandtips.com/html/copy-all-html-source-code-with-inspect-in-chrome/">https://www.tutsandtips.com/html/copy-all-html-source-code-with-inspect-in-chrome/</a></span>
</li>
<li id="_note-4">
<a href="#_ref-4" target="_blank">↑</a> <span class="reference-text"><a target="_blank" rel="nofollow noreferrer noopener" class="external free" href="https://www.view-page-source.com/howto-see-html-code-different-browsers/">https://www.view-page-source.com/howto-see-html-code-different-browsers/</a></span>
</li>
</ol></div>
</div>
<div class="section aboutthisarticle sticky" id="aboutthisarticle">
<h2 id="sp_h2"><span class="mw-headline">About This Article</span></h2>
<div id="social_proof_mobile">
<a name="social_proof_anchor" id="social_proof_anchor"></a>
<div class="sp_inner">
<div class="sp_top_box sp_person sp_expert">
<div class="coauthor_avatar_badge"></div>
<div class="ar_avatar" style="max-width: 50px"><picture><source type="image/webp" srcset="/images/thumb/f/fe/Nicole_Levine.png/-crop-100-100-99px-Nicole_Levine.png.webp"></source><img src="/images/thumb/f/fe/Nicole_Levine.png/-crop-100-100-99px-Nicole_Levine.png" alt="Nicole Levine, MFA" loading="lazy" width="50" height="50" style="max-width: 50px"></picture></div>
<div class="sp_expert_text ">
<div>
<div class="sp_coauthor_label">
Co-authored by:
</div>
<div class="sp_expert_name"><a href="/Author/Nicole-Levine-MFA" class="sp_namelink">Nicole Levine, MFA</a></div>
<div class="sp_expert_blurb">Tech Specialist</div>
</div>
</div>
</div>
<div id="sp_expert_desc">
This article was co-authored by <a href="/Author/Nicole-Levine-MFA">Nicole Levine, MFA</a>. Nicole Levine is a Technology Writer and Editor for wikiHow. She has more than 20 years of experience creating technical documentation and leading support teams at major web hosting and software companies. Nicole also holds an MFA in Creative Writing from Portland State University and teaches composition, fiction-writing, and zine-making at various institutions. This article has been viewed 1,314 times.
</div>
<div class="sp_box sp_box_hoverable sp_helpful_hoverable sp_helpful_box " data-helpful="">
<div class="sp_star_section_upper">
<div class="sp_star_section_hoverable">
<div class="sp_star_container star1">
<div class="sp_helpful_icon_star " style="width:0%"></div>
</div>
<div class="sp_star_container star2">
<div class="sp_helpful_icon_star " style="width:0%"></div>
</div>
<div class="sp_star_container star3">
<div class="sp_helpful_icon_star " style="width:0%"></div>
</div>
<div class="sp_star_container star4">
<div class="sp_helpful_icon_star " style="width:0%"></div>
</div>
<div class="sp_star_container star5">
<div class="sp_helpful_icon_star " style="width:0%"></div>
</div>
</div>
</div>
<div class="sp_helpful_lower">
<div class="sp_star_rating_text"></div>
<div class="sp_helpful_rating_count"></div>
<div class="helpfulness_text">How helpful is this?</div>
</div>
</div>
<div class="sp_box sp_stats_box ">
<div class="sp_text">
Co-authors: <span class="sp_text_data">4</span>
</div>
<div class="sp_text">
<span id="sp_modified">Updated: <span class="sp_text_data">March 25, 2021</span></span>
</div>
<div class="sp_text">
Views: <span class="sp_text_data">1,314</span>
</div>
</div>
<div class="sp_box sp_fullbox">
Categories: <span dir="ltr"><a href="/Category:HTML" title="Category:HTML">HTML</a></span>
</div>
<div class="clearall"></div>
</div>
</div>
<div id="summary_wrapper" class="section_text">
<a href="#summary_wrapper" class="collapse_link">Article Summary<span id="summary_close">X</span></a><p class="text_summary_wrapper" id="summary_text">1. Go to the website in a web browser.<br>
2. If you're using Safari on a Mac, enable the Develop menu.<br>
3. Right-click a blank area of the page.<br>
4. Click <b>View page source</b>.<br>
5. Highlight everything on the page.<br>
6. Right-click the selection and click <b>Copy</b>.<br><span id="summary_last_sentence"></span><span id="summary_position" class="sumpos_bottom"></span><div class="s-help-wrap" data-type="summarytexthelp">
<span class="s-help-prompt">Did this summary help you?</span><button class="s-help-response" data-value="1" data-type="summarytexthelp" data-prompt-text="We are so glad to have helped!" data-finish-prompt="Thank you! <a href='#' class='firststeplink'>Return to the article to learn more...</a>" data-textarea-prompt="Please describe what was helpful in the video..." type="submit">Yes</button><button class="s-help-response" data-value="0" data-type="summarytexthelp" data-prompt-text="Sorry that the video wasn't helpful." data-finish-prompt="Sorry the summary wasn't helpful. <a href='#' class='firststeplink'>Return to the article to learn more...</a>" data-textarea-prompt="Please tell us what you would have liked to see in the video..." type="submit">No</button><div class="s-help-feedback-wrap">
<textarea class="s-help-textarea"></textarea><input type="button" class="s-help-submit button primary" value="Submit">
</div>
</div></p>
</div>
<ul id="end_options" class="section_text">
<li><a href="#" id="printLink">Print</a></li>
<li><a href="#" id="gatThankAuthors">Send fan mail to authors</a></li>
<div class="clearall"></div>
</ul>
<div class="page_stats section_text">Thanks to all authors for creating a page that has been read 1,314 times.<div class="clearall"></div>
</div>
</div>
<div id="article_rating_mobile" class="section_text">
<h2 id="article_rating_header"><span class="mw-headline">Is this article up to date?</span></h2>
<div id="article_rating">
<button id="gatAccuracyYes" pageid="12518057" role="button" tabindex="0" class="button secondary vote_up aritem">Yes</button>
<button id="gatAccuracyNo" pageid="12518057" role="button" tabindex="1" class="button secondary vote_down aritem">No</button>
</div>
<div class="clearall"></div>
</div>
<div class="wh_ad_inner house-promo" data-service="house" data-type="housebottom" data-width="728" data-height="180" data-large="1" data-medium="1" data-buckets="1 2 3 4 5 6 7 8 9 10" data-channels="5232454650" data-mobilechannels="7928712280,6429618073" data-observerloading="1" data-sizes-array="0" data-gptdisplaylate="1"><div id="housebottom_ad_1">
<script>if (WH.shared.isLargeSize || WH.shared.isMedSize) {WH.eventView('article_promo_house_bottom_click_go_sc', {dest_url:'https://www.wikihow.com/Coaches?tab=dating&?utm_source=wikihow&utm_medium=bottom&utm_campaign=Coac_v10', ad_exclude:0}, '#hausead-img-wrap', 'click');}</script><a href="https://www.wikihow.com/Coaches?tab=dating&?utm_source=wikihow&utm_medium=bottom&utm_campaign=Coac_v10" id="hausead-img-wrap"><img width="728" height="180" data-width="728" data-height="180" id="612252b8b70e2" class="scrolldefer content-fill" data-src="/images/6/6d/Coac_v10_0728x0180.jpg"><script>WH.shared.addScrollLoadItem('612252b8b70e2')</script><noscript><img src="/images/6/6d/Coac_v10_0728x0180.jpg" width="728" height="180" data-width="728" data-height="180" id="612252b8b70e2" class="scrolldefer content-fill"></noscript></a><script>WH.ads.promoLoadEvent( '612252b8b70e2', 'bottom', 'Coac_v10_0728x0180.jpg');</script>
</div></div>
<script>WH.ads.addBodyAd('housebottom_ad_1')</script><div id="pagebottom">
<div class="wh_ad_inner" data-service="adsense" data-smallslot="3788982605" data-smallheight="250" data-type="pagebottom" data-small="1" data-channels="5232454650" data-smallchannels="2811805837" data-mobilechannels="7928712280,6429618073" data-observerloading="1" data-sizes-array="0" data-gptdisplaylate="1">
<div id="pagebottom_ad_1"></div>
<div class="al_method">Advertisement</div>
</div>
<script>WH.ads.addBodyAd('pagebottom_ad_1')</script>
</div>
</div></div><div id="sidebar"><div id="cookie_notice" class="sidebox notice_bgcolor"><a href="#" id="cookie_notice_x"></a>Cookies make wikiHow better. By continuing to use our site, you agree to our <a href="/wikiHow:Cookie-Policy" target="_blank">cookie policy</a>.</div><div id="social_proof_sidebox" class="sidebox ">
<div class="sp_top_box sp_person sp_expert">
<div class="coauthor_avatar_badge"></div>
<div class="ar_avatar" style="max-width: 50px"><picture><source type="image/webp" srcset="/images/thumb/f/fe/Nicole_Levine.png/-crop-100-100-99px-Nicole_Levine.png.webp"/><img src="/images/thumb/f/fe/Nicole_Levine.png/-crop-100-100-99px-Nicole_Levine.png" alt="Nicole Levine, MFA" loading="lazy" width="50" height="50" style="max-width: 50px"/></picture></div>
<div class="sp_expert_text ">
<div>
<div class="sp_coauthor_label">
Co-authored by:
</div>
<div class="sp_expert_name"><a href="/Author/Nicole-Levine-MFA" class="sp_namelink">Nicole Levine, MFA</a></div>
<div class="sp_expert_blurb">Tech Specialist</div>
</div>
</div>
</div>
<div class="sp_inner">
<div class="sp_box sp_box_hoverable sp_helpful_hoverable sp_helpful_box " data-helpful="">
<div class="sp_star_section_upper">
<div class="sp_star_section_hoverable">
<div class="sp_star_container star1">
<div class="sp_helpful_icon_star " style="width:0%"></div>
</div>
<div class="sp_star_container star2">
<div class="sp_helpful_icon_star " style="width:0%"></div>
</div>
<div class="sp_star_container star3">
<div class="sp_helpful_icon_star " style="width:0%"></div>
</div>
<div class="sp_star_container star4">
<div class="sp_helpful_icon_star " style="width:0%"></div>
</div>
<div class="sp_star_container star5">
<div class="sp_helpful_icon_star " style="width:0%"></div>
</div>
</div>
</div>
<div class="sp_helpful_lower">
<div class="sp_star_rating_text"></div>
<div class="sp_helpful_rating_count"></div>
<div class="helpfulness_text">Click a star to vote</div>
</div>
<div class='sp_popup_container'>
<div class='hint_box'>% of people told us that this article helped them.</div>
</div>
</div>
<div class="sp_box sp_stats_box ">
<div class="sp_text">
Co-authors: <span class="sp_text_data">4</span>
</div>
<div class="sp_text">
<span id="sp_modified">Updated: <span class="sp_text_data">March 25, 2021</span></span>
</div>
<div class="sp_text">
Views: <span class="sp_text_data">1,314</span>
</div>
</div>
<div class="clearall"></div>
</div>
</div>
<div class="wh_ad_inner rr_container" data-service="adsense" data-slot="5490902193" data-instantload="0" data-width="300" data-height="600" style="height:2000px" data-innerclass="w_label al_grey" data-type="rightrail" data-large="1" data-channels="5232454650" data-largechannels="5788212177 9818776313" data-mobilechannels="7928712280,6429618073" data-observerloading="1" data-sizes-array="0" data-gptdisplaylate="1"><div id="rightrail0_ad_1" class="w_label al_grey blockthrough"></div></div><script>WH.ads.addBodyAd('rightrail0_ad_1')</script><div id="side_related_articles" class="sidebox related_articles">
<h3>Related Articles</h3><a class="related-wh" href="/Insert-Spaces-in-HTML"><div class="content-spacer"><img id="6b892d8e11aa1eee443eeef0e9f3ac4c" class="scrolldefer content-fill" alt="Insert Spaces in HTML" width="127" height="140" data-src="https://www.wikihow.com/images/thumb/6/63/Insert-Spaces-in-HTML-Step-9-Version-2.jpg/-crop-127-140-127px-Insert-Spaces-in-HTML-Step-9-Version-2.jpg"/><span class="related-wh-title"><div class="related-wh-howto">How to</div>Insert Spaces in HTML</span></div><script>WH.shared.addScrollLoadItem('6b892d8e11aa1eee443eeef0e9f3ac4c')</script><noscript><img src="https://www.wikihow.com/images/thumb/6/63/Insert-Spaces-in-HTML-Step-9-Version-2.jpg/-crop-127-140-127px-Insert-Spaces-in-HTML-Step-9-Version-2.jpg"/></noscript></a><a class="related-wh" href="/Create-a-Simple-Web-Page-with-HTML"><div class="content-spacer"><img id="41ab65ce2232f5266ec9296b7cedfd69" class="scrolldefer content-fill" alt="Create a Simple Web Page with HTML" width="127" height="140" data-src="https://www.wikihow.com/images/thumb/b/b3/4082-29-2.jpg/-crop-127-140-127px-4082-29-2.jpg"/><span class="related-wh-title"><div class="related-wh-howto">How to</div>Create a Simple Web Page with HTML</span></div><script>WH.shared.addScrollLoadItem('41ab65ce2232f5266ec9296b7cedfd69')</script><noscript><img src="https://www.wikihow.com/images/thumb/b/b3/4082-29-2.jpg/-crop-127-140-127px-4082-29-2.jpg"/></noscript></a><a class="related-wh" href="/Create-an-Email-Link-in-HTML"><div class="content-spacer"><img id="60dc2f986d1662f3e13e54429c1d34a6" class="scrolldefer content-fill" alt="Create an Email Link in HTML" width="127" height="140" data-src="https://www.wikihow.com/images/thumb/0/03/Create-an-Email-Link-in-HTML-Step-8.jpg/-crop-127-140-127px-Create-an-Email-Link-in-HTML-Step-8.jpg"/><span class="related-wh-title"><div class="related-wh-howto">How to</div>Create an Email Link in HTML</span></div><script>WH.shared.addScrollLoadItem('60dc2f986d1662f3e13e54429c1d34a6')</script><noscript><img src="https://www.wikihow.com/images/thumb/0/03/Create-an-Email-Link-in-HTML-Step-8.jpg/-crop-127-140-127px-Create-an-Email-Link-in-HTML-Step-8.jpg"/></noscript></a><a class="related-wh" href="/Set-a-Background-Image-in-HTML"><div class="content-spacer"><img id="422031b51069d314ff590da9f86a9ec9" class="scrolldefer content-fill" alt="Set a Background Image in HTML" width="127" height="140" data-src="https://www.wikihow.com/images/thumb/f/f7/2627945-32-3.jpg/-crop-127-140-127px-2627945-32-3.jpg"/><span class="related-wh-title"><div class="related-wh-howto">How to</div>Set a Background Image in HTML</span></div><script>WH.shared.addScrollLoadItem('422031b51069d314ff590da9f86a9ec9')</script><noscript><img src="https://www.wikihow.com/images/thumb/f/f7/2627945-32-3.jpg/-crop-127-140-127px-2627945-32-3.jpg"/></noscript></a><div class="clearall"></div>
</div><div class="wh_ad_inner rr_container" data-service="dfp" data-adunitpath="/10095428/engl/engl_gam_lgm_rght2" data-size="[[300, 250],[300, 600],[120,600],[160,600]]" data-prebidload="1" data-apsload="1" data-refreshable="1" data-viewablerefresh="1" data-first-refresh-time="30000" data-refresh-time="28000" data-aps-timeout="800" data-width="300" data-height="600" style="height:3300px" data-innerclass="w_label al_grey" data-type="rightrail" data-large="1" data-channels="5232454650" data-mobilechannels="7928712280,6429618073" data-observerloading="1" data-sizes-array="[[300, 250],[300, 600],[120,600],[160,600]]" data-gptdisplaylate="1"><div id="rightrail1_ad_1" class="w_label al_grey blockthrough"></div></div><script>WH.ads.addBodyAd('rightrail1_ad_1')</script></div><br class="clearall"></div><br class="clearall"><script type="application/ld+json">{
"@context": "http:\/\/schema.org",
"@type": "Article",
"headline": "How to Copy HTML Source Code on Your Computer, iPhone, or Android",
"name": "How to Copy HTML Source Code on Your Computer, iPhone, or Android",
"mainEntityOfPage": {
"@type": "WebPage",
"id": "https:\/\/www.wikihow.com\/Copy-Source-Code"
},
"image": {
"@type": "ImageObject",
"url": "https:\/\/www.wikihow.com\/images\/thumb\/f\/ff\/Copy-Source-Code-Step-23.jpg\/aid12518057-v4-1200px-Copy-Source-Code-Step-23.jpg",
"width": 1200,
"height": 900
},
"author": {
"@context": "http:\/\/schema.org",
"@type": "Organization",
"name": "wikiHow",
"url": "https:\/\/www.wikihow.com",
"logo": {
"@type": "ImageObject",
"url": "https:\/\/www.wikihow.com\/skins\/owl\/images\/wikihow_logo_nobg_60.png",
"width": 326,
"height": 60
},
"sameAs": [
"https:\/\/www.facebook.com\/wikiHow\/",
"https:\/\/twitter.com\/wikiHow",
"https:\/\/www.instagram.com\/wikihow\/",
"https:\/\/www.linkedin.com\/company\/wikihow\/",
"https:\/\/www.youtube.com\/user\/WikiHow"
]
},
"datePublished": "2021-03-12",
"dateModified": "2021-03-25",
"publisher": {
"@context": "http:\/\/schema.org",
"@type": "Organization",
"name": "wikiHow",
"url": "https:\/\/www.wikihow.com",
"logo": {
"@type": "ImageObject",
"url": "https:\/\/www.wikihow.com\/skins\/owl\/images\/wikihow_logo_nobg_60.png",
"width": 326,
"height": 60
},
"sameAs": [
"https:\/\/www.facebook.com\/wikiHow\/",
"https:\/\/twitter.com\/wikiHow",
"https:\/\/www.instagram.com\/wikihow\/",
"https:\/\/www.linkedin.com\/company\/wikihow\/",
"https:\/\/www.youtube.com\/user\/WikiHow"
]
},
"contributor": {
"@type": "Person",
"name": "Nicole Levine, MFA"
},
"description": " This wikiHow teaches you how to locate and copy the HTML source code of a website on your computer, phone, or tablet. The steps are pretty straight-forward when you're using a computer or an Android, but if you're using an iPhone or iPad,..."
}</script><script type="application/ld+json">{
"@context": "http:\/\/schema.org",
"@type": "HowTo",
"headline": "How to Copy HTML Source Code on Your Computer, iPhone, or Android",
"name": "How to Copy HTML Source Code on Your Computer, iPhone, or Android",
"image": {
"@type": "ImageObject",
"url": "https:\/\/www.wikihow.com\/images\/thumb\/f\/ff\/Copy-Source-Code-Step-23.jpg\/aid12518057-v4-1200px-Copy-Source-Code-Step-23.jpg",
"width": 1200,
"height": 900
},
"author": {
"@context": "http:\/\/schema.org",
"@type": "Organization",
"name": "wikiHow",
"url": "https:\/\/www.wikihow.com",
"logo": {
"@type": "ImageObject",
"url": "https:\/\/www.wikihow.com\/skins\/owl\/images\/wikihow_logo_nobg_60.png",
"width": 326,
"height": 60
},
"sameAs": [
"https:\/\/www.facebook.com\/wikiHow\/",
"https:\/\/twitter.com\/wikiHow",
"https:\/\/www.instagram.com\/wikihow\/",
"https:\/\/www.linkedin.com\/company\/wikihow\/",
"https:\/\/www.youtube.com\/user\/WikiHow"
]
},
"datePublished": "2021-03-12",
"dateModified": "2021-03-25",
"publisher": {
"@context": "http:\/\/schema.org",
"@type": "Organization",
"name": "wikiHow",
"url": "https:\/\/www.wikihow.com",
"logo": {
"@type": "ImageObject",
"url": "https:\/\/www.wikihow.com\/skins\/owl\/images\/wikihow_logo_nobg_60.png",
"width": 326,
"height": 60
},
"sameAs": [
"https:\/\/www.facebook.com\/wikiHow\/",
"https:\/\/twitter.com\/wikiHow",
"https:\/\/www.instagram.com\/wikihow\/",
"https:\/\/www.linkedin.com\/company\/wikihow\/",
"https:\/\/www.youtube.com\/user\/WikiHow"
]
},
"contributor": {
"@type": "Person",
"name": "Nicole Levine, MFA"
},
"step": [
{
"@type": "HowToSection",
"name": "Using a Computer",
"itemListElement": [
{
"@type": "HowToStep",
"text": "Go to the website you want to copy. You can use any web browser on your PC or Mac to view and copy a website's source code.",
"image": "https:\/\/www.wikihow.com\/images\/thumb\/a\/ae\/Copy-Source-Code-Step-1.jpg\/v4-460px-Copy-Source-Code-Step-1.jpg",
"url": "https:\/\/www.wikihow.com\/Copy-Source-Code#step-id-00"
},
{
"@type": "HowToStep",
"text": "Enable the Develop menu (if you're using Safari). If you're using Safari on a Mac, you'll need to enable the Develop menu if you want to view a website's source code. This is only required on Safari, so you can skip this if you're using any other browser:\nClick the Safari menu at the top of the screen.\nClick Preferences on the menu.\nClick Advanced.\nSelect Show Develop menu in menu bar.",
"image": "https:\/\/www.wikihow.com\/images\/thumb\/7\/73\/Copy-Source-Code-Step-2.jpg\/v4-460px-Copy-Source-Code-Step-2.jpg",
"url": "https:\/\/www.wikihow.com\/Copy-Source-Code#step-id-01"
},
{
"@type": "HowToStep",
"text": "Right-click a blank area of the website. A context menu will expand.",
"image": "https:\/\/www.wikihow.com\/images\/thumb\/7\/76\/Copy-Source-Code-Step-3.jpg\/v4-460px-Copy-Source-Code-Step-3.jpg",
"url": "https:\/\/www.wikihow.com\/Copy-Source-Code#step-id-02"
},
{
"@type": "HowToStep",
"text": "Click View page source on the menu. The phrasing may vary slightly on different web browsers, but this option will always display the current page's source code.\nIf you right-clicked in a frame, you'll see View Frame Source instead. This will only display the source code of the current frame.\nIf you see a link to a file with a name like style.css near the top of the source code, this is a separate file that contains the styles (fonts, colors, layout info) for the website. Click the link to open that page. If you want to copy all of the code for the site, you'll also need to copy this page.",
"image": "https:\/\/www.wikihow.com\/images\/thumb\/b\/ba\/Copy-Source-Code-Step-4.jpg\/v4-460px-Copy-Source-Code-Step-4.jpg",
"url": "https:\/\/www.wikihow.com\/Copy-Source-Code#step-id-03"
},
{
"@type": "HowToStep",
"text": "Press Ctrl+A (PC) or \u2318 Cmd+A (Mac). This highlights all of the code on the page.",
"image": "https:\/\/www.wikihow.com\/images\/thumb\/b\/b3\/Copy-Source-Code-Step-5.jpg\/v4-460px-Copy-Source-Code-Step-5.jpg",
"url": "https:\/\/www.wikihow.com\/Copy-Source-Code#step-id-04"
},
{
"@type": "HowToStep",
"text": "Press Ctrl+C (PC) or \u2318 Cmd+C (Mac). Now the selected source code is pasted to your clipboard.\nTo paste it into the desired location, right-click and select Paste.",
"image": "https:\/\/www.wikihow.com\/images\/thumb\/c\/c1\/Copy-Source-Code-Step-6.jpg\/v4-460px-Copy-Source-Code-Step-6.jpg",
"url": "https:\/\/www.wikihow.com\/Copy-Source-Code#step-id-05"
}
]
},
{
"@type": "HowToSection",
"name": "Using an Android",
"itemListElement": [
{
"@type": "HowToStep",
"text": "Open Chrome or Samsung Internet on your phone or tablet. You can use Google Chrome to view the source code of a website on your Android.",
"image": "https:\/\/www.wikihow.com\/images\/thumb\/a\/a1\/Copy-Source-Code-Step-7.jpg\/v4-460px-Copy-Source-Code-Step-7.jpg",
"url": "https:\/\/www.wikihow.com\/Copy-Source-Code#step-id-16"
},
{
"@type": "HowToStep",
"text": "Go to the website you want to view. Wait for the site to load fully before you continue.",
"image": "https:\/\/www.wikihow.com\/images\/thumb\/e\/e0\/Copy-Source-Code-Step-8.jpg\/v4-460px-Copy-Source-Code-Step-8.jpg",
"url": "https:\/\/www.wikihow.com\/Copy-Source-Code#step-id-17"
},
{
"@type": "HowToStep",
"text": "Tap the address bar. This displays the address of the website.",
"image": "https:\/\/www.wikihow.com\/images\/thumb\/d\/dd\/Copy-Source-Code-Step-9.jpg\/v4-460px-Copy-Source-Code-Step-9.jpg",
"url": "https:\/\/www.wikihow.com\/Copy-Source-Code#step-id-18"
},
{
"@type": "HowToStep",
"text": "Add view-source: to the beginning of the URL. To do this, just move the cursor to the beginning of the URL (before the https:\/\/) and type view-source:.\nFor example, if you were going to view the source of wikiHow.com, the URL would look like this: view-source:https:\/\/www.wikihow.com",
"image": "https:\/\/www.wikihow.com\/images\/thumb\/2\/25\/Copy-Source-Code-Step-10.jpg\/v4-460px-Copy-Source-Code-Step-10.jpg",
"url": "https:\/\/www.wikihow.com\/Copy-Source-Code#step-id-19"
},
{
"@type": "HowToStep",
"text": "Tap the search, enter, or go key to go to the site. This refreshes the site and displays only its source code.\nIf you see a link to a file with a name like style.css near the top of the source code, this is a separate file that contains the styles settings (colors, fonts, design, etc.) for the website. Tap the link to open that page. If you want to copy all of the code for the site, you'll also need to copy this page.",
"image": "https:\/\/www.wikihow.com\/images\/thumb\/1\/1b\/Copy-Source-Code-Step-11.jpg\/v4-460px-Copy-Source-Code-Step-11.jpg",
"url": "https:\/\/www.wikihow.com\/Copy-Source-Code#step-id-110"
},
{
"@type": "HowToStep",
"text": "Tap and hold any word in the source code. This highlights that word and surrounds it by bounding handles.",
"image": "https:\/\/www.wikihow.com\/images\/thumb\/5\/5c\/Copy-Source-Code-Step-12.jpg\/v4-460px-Copy-Source-Code-Step-12.jpg",
"url": "https:\/\/www.wikihow.com\/Copy-Source-Code#step-id-111"
},
{
"@type": "HowToStep",
"text": "Drag the bounding handles to select all of the source code. To do this, drag the leftmost bounding handle all the way to the beginning of the page, and the rightmost handle all the way to the end. A small toolbar will appear once you're finished.",
"image": "https:\/\/www.wikihow.com\/images\/thumb\/d\/db\/Copy-Source-Code-Step-13.jpg\/v4-460px-Copy-Source-Code-Step-13.jpg",
"url": "https:\/\/www.wikihow.com\/Copy-Source-Code#step-id-112"
},
{
"@type": "HowToStep",
"text": "Tap Copy on the toolbar. Now that you've copied the source code, you can paste it anywhere, such as into Google Docs or your note-taking app.\nTo paste the code into a file or app, tap and hold the typing area and select Paste.",
"image": "https:\/\/www.wikihow.com\/images\/thumb\/5\/59\/Copy-Source-Code-Step-14.jpg\/v4-460px-Copy-Source-Code-Step-14.jpg",
"url": "https:\/\/www.wikihow.com\/Copy-Source-Code#step-id-113"
}
]
},
{
"@type": "HowToSection",
"name": "Using an iPhone or iPad",
"itemListElement": [
{
"@type": "HowToStep",
"text": "Install View Source from the App Store {\"smallUrl\":\"https:\\\/\\\/www.wikihow.com\\\/images\\\/5\\\/55\\\/Iphoneappstoreicon.png\",\"bigUrl\":\"\\\/images\\\/thumb\\\/5\\\/55\\\/Iphoneappstoreicon.png\\\/30px-Iphoneappstoreicon.png\",\"smallWidth\":460,\"smallHeight\":460,\"bigWidth\":30,\"bigHeight\":30,\"licensing\":\"\u003Cdiv class=\\\"mw-parser-output\\\"\u003E\u003Cp\u003EI edited this screenshot of an iOS icon.\\n\u003C\\\/p\u003E\u003Cp\u003ELicense: \u003Ca target=\\\"_blank\\\" rel=\\\"nofollow noreferrer noopener\\\" class=\\\"external text\\\" href=\\\"http:\\\/\\\/en.wikipedia.org\\\/wiki\\\/Fair_use\\\"\u003EFair Use\u003C\\\/a\u003E\u003Cbr\u003E\\n\u003C\\\/p\u003E\u003C\\\/div\u003E\"}. There's no setting in any iPhone or iPad web browser that lets you view a website's source code easily. Fortunately, there's an app for that! View Source is a small, easy-to-use app that lets you view and copy the source code of any website.",
"image": "https:\/\/www.wikihow.com\/images\/thumb\/f\/f8\/Copy-Source-Code-Step-15.jpg\/v4-460px-Copy-Source-Code-Step-15.jpg",
"url": "https:\/\/www.wikihow.com\/Copy-Source-Code#step-id-214"
},
{
"@type": "HowToStep",
"text": "Open Safari (or your preferred web browser). You can still use your regular browser to load the website you want to view.",
"image": "https:\/\/www.wikihow.com\/images\/thumb\/7\/7d\/Copy-Source-Code-Step-16.jpg\/v4-460px-Copy-Source-Code-Step-16.jpg",
"url": "https:\/\/www.wikihow.com\/Copy-Source-Code#step-id-215"
},
{
"@type": "HowToStep",
"text": "Copy the URL. Once you're on the page you want to view, tap the address bar at the top of the screen to select the URL. Then, tap it again to bring open the context menu and select Copy.",
"image": "https:\/\/www.wikihow.com\/images\/thumb\/2\/2f\/Copy-Source-Code-Step-17.jpg\/v4-460px-Copy-Source-Code-Step-17.jpg",
"url": "https:\/\/www.wikihow.com\/Copy-Source-Code#step-id-216"
},
{
"@type": "HowToStep",
"text": "Open the View Source app. It's the purple icon with a black window, two brackets, and a semicolon. You'll find it on your home screen and\/or your app library.",
"image": "https:\/\/www.wikihow.com\/images\/thumb\/8\/86\/Copy-Source-Code-Step-18.jpg\/v4-460px-Copy-Source-Code-Step-18.jpg",
"url": "https:\/\/www.wikihow.com\/Copy-Source-Code#step-id-217"
},
{
"@type": "HowToStep",
"text": "Tap the address bar and select Paste. This pastes the copied URL into the address bar in View Source.",
"image": "https:\/\/www.wikihow.com\/images\/thumb\/f\/f4\/Copy-Source-Code-Step-19.jpg\/v4-460px-Copy-Source-Code-Step-19.jpg",
"url": "https:\/\/www.wikihow.com\/Copy-Source-Code#step-id-218"
},
{
"@type": "HowToStep",
"text": "Tap the go key on the keyboard. This displays the source code for the URL you entered.",
"image": "https:\/\/www.wikihow.com\/images\/thumb\/9\/95\/Copy-Source-Code-Step-20.jpg\/v4-460px-Copy-Source-Code-Step-20.jpg",
"url": "https:\/\/www.wikihow.com\/Copy-Source-Code#step-id-219"
},
{
"@type": "HowToStep",
"text": "Tap and hold any word in the source code. This highlights that word and surrounds it by bounding handles.",
"image": "https:\/\/www.wikihow.com\/images\/thumb\/8\/86\/Copy-Source-Code-Step-21.jpg\/v4-460px-Copy-Source-Code-Step-21.jpg",
"url": "https:\/\/www.wikihow.com\/Copy-Source-Code#step-id-220"
},
{
"@type": "HowToStep",
"text": "Drag the bounding handles to select all of the source code. To do this, drag the leftmost bounding handle all the way to the beginning of the page, and the rightmost handle all the way to the end. A small toolbar will appear once you're finished.",
"image": "https:\/\/www.wikihow.com\/images\/thumb\/2\/2e\/Copy-Source-Code-Step-22.jpg\/v4-460px-Copy-Source-Code-Step-22.jpg",
"url": "https:\/\/www.wikihow.com\/Copy-Source-Code#step-id-221"
},
{
"@type": "HowToStep",
"text": "Tap Copy on the menu. If it doesn't pop up on its own, tap and hold the highlighted area so it appears, and then select Copy. Once the source code is copied to the clipboard, you can paste it into any app you want, such as the Notes app or an email message.\nTo paste, tap and hold a typing area and select Paste.",
"image": "https:\/\/www.wikihow.com\/images\/thumb\/f\/ff\/Copy-Source-Code-Step-23.jpg\/v4-460px-Copy-Source-Code-Step-23.jpg",
"url": "https:\/\/www.wikihow.com\/Copy-Source-Code#step-id-222"
}
]
}
],
"description": " This wikiHow teaches you how to locate and copy the HTML source code of a website on your computer, phone, or tablet. The steps are pretty straight-forward when you're using a computer or an Android, but if you're using an iPhone or iPad,..."
}</script><script type="application/ld+json">{
"@context": "http:\/\/schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"item": {
"@id": "https:\/\/www.wikihow.com",
"name": "wikiHow"
}
},
{
"@type": "ListItem",
"position": 2,
"item": {
"@id": "https:\/\/www.wikihow.com\/Category:Computers-and-Electronics",
"name": "Computers and Electronics"
}
},
{
"@type": "ListItem",
"position": 3,
"item": {
"@id": "https:\/\/www.wikihow.com\/Category:Internet",
"name": "Internet"
}
},
{
"@type": "ListItem",
"position": 4,
"item": {
"@id": "https:\/\/www.wikihow.com\/Category:Website-and-Blog-Creation",
"name": "Website and Blog Creation"
}
},
{
"@type": "ListItem",
"position": 5,
"item": {
"@id": "https:\/\/www.wikihow.com\/Category:Markup-Languages",
"name": "Markup Languages"
}
},
{
"@type": "ListItem",
"position": 6,
"item": {
"@id": "https:\/\/www.wikihow.com\/Category:HTML",
"name": "HTML"
}
},
{
"@type": "ListItem",
"position": 7,
"item": {
"@id": "https:\/\/www.wikihow.com\/Copy-Source-Code",
"name": "How to Copy HTML Source Code on Your Computer, iPhone, or Android"
}
}
]
}</script>
<div id="fb-root" ></div>
<div id="footer" role="navigation">
<div id="footer_inner">
<a href='/Main-Page' id="footer_logo">
<img src='/skins/owl/images/wikihow_logo_intl.png' width='162' height='42' alt='wikiHow' />
</a>
<div id="footer_crumbs">
<ul class="breadcrumbs">
<li><a href="/Special:CategoryListing" title="Special:CategoryListing">Categories</a></li><li><a href="/Category:Computers-and-Electronics" title="Category:Computers and Electronics">Computers and Electronics</a></li><li><a href="/Category:Internet" title="Category:Internet">Internet</a></li><li><a href="/Category:Website-and-Blog-Creation" title="Category:Website and Blog Creation">Website and Blog Creation</a></li><li><a href="/Category:Markup-Languages" title="Category:Markup Languages">Markup Languages</a></li><li><a href="/Category:HTML" title="Category:HTML">HTML</a></li>
</ul>
</div>
<div id="footer_top_divider" class="footer_divider"></div>
<div id="footer_vertical_divider"></div>
<div id="footer_newsletter">
<div id="footer_subscribe_icon"></div>
<div id="footer_subscribe_title">wikiHow Newsletter</div>
<div id="footer_subscribe_confirm_text">You're all set!</div>
<div id="footer_subscribe_text">Helpful how-tos delivered to<br/>your inbox every week!</div>
<input class="news_sub_element" id="footer_subscribe_email" placeholder="Enter your email"/>
<a href="#" id="footer_subscribe_button" class="button news_sub_element">Sign me up!</a>
<div id="footer_subscribe_notice" class="news_sub_element">By signing up you are agreeing to receive emails according to our privacy policy.</div>
</div>
<div id="footer_newsletter_divider" class="footer_divider"></div>
<div id="search_footer" class="wh_search " role="search">
<div class="cse_x" role="button"></div>
<form action="/wikiHowTo" id="cse-search-box-bottom">
<div>
<input type="text" class="cse_q search_box" id='search_field_bottom' name="search" value=""
placeholder="How to Copy HTML Source Code on Your Computer, iPhone, or Android"
x-webkit-speech aria-label="Search here"
/>
<input type="submit" value="" class="cse_sa" alt="" />
</div>
</form>
</div>
<!--end search-->
<div id="footer_links">
<ul>
<li><a href="/Main-Page" title="Main Page">Home</a></li>
<li><a href="/About-wikiHow" class="mw-redirect" title="About wikiHow">About wikiHow</a></li>
<li><a target="_blank" rel="noreferrer noopener" class="external text" href="https://www.wikihow.com/Experts">Experts</a></li>
<li><a href="https://blog.wikihow.com/">Blog</a></li>
<li><a href="/wikiHow:Jobs" title="wikiHow:Jobs">Jobs</a></li>
<li><a href="/wikiHow:Contact-Us" title="wikiHow:Contact Us">Contact Us</a></li>
<li><a href="/Special:Sitemap" title="Special:Sitemap">Site Map</a></li>
<li><a href="/wikiHow:Terms-of-Use" title="wikiHow:Terms of Use">Terms of Use</a></li>
<li><a href="/wikiHow:Privacy-Policy" title="wikiHow:Privacy Policy">Privacy Policy</a></li>
<li><a id="footer_ccpa" href="#">Do Not Sell My Info</a></li>
<li><a id="footer_ccpa_optout" href="#">Not Selling Info</a></li>
<li><a target="_blank" rel="noreferrer noopener" class="external text" href="https://www.wikihow.com/wikiHow:Contribute">Contribute</a></li>
</ul>
</div>
<div id="sf">
<div>
<p>Follow Us</p>
<a id="sf_ig" class="sf_icon" href="https://www.instagram.com/wikihow/" target="_blank" title="Instagram"></a><a id="sf_fb" class="sf_icon" href="https://www.facebook.com/wikiHow/" target="_blank" title="Facebook"></a><a id="sf_tt" class="sf_icon" href="https://twitter.com/wikihow" target="_blank" title="Twitter"></a><a id="sf_yt" class="sf_icon" href="https://www.youtube.com/wikihow" target="_blank" title="YouTube"></a><a id="sf_nl" class="sf_icon" href="https://www.wikihow.com/Newsletters" target="_blank" title="Newsletter"></a>
</div>
</div>
</div>
</div>
<div id='sliderbox' class=" green tech" data-color="green">
<div id='slider_container'>
<button id='slider_close_button' on="tap:sliderbox.hide">×</button>
<div class='slider_content'>
<p id='slider_big_headline'>Keep up with the latest tech with wikiHow's free Tech Help Newsletter</p>
<input placeholder="Email Address" id="slider_subscribe_email" data-newsletter_type="tech" type="text"/><a id="slider_button" class='button slider_subscribe_button' data-event_type="tech newsletter - variation 8" href="#">Subscribe</a>
<div id="slider_subscribe_confirm_text">You're all set!</div>
</div>
</div>
</div>
<script type="text/javascript" src="https://www.wikihow.com/extensions/min/f/_ads/gads.js"></script>
<script type="text/javascript" src="https://www.wikihow.com/x/zscsucgm?"></script>
<script>
window.WH = window.WH || {};
WH.hasAdBlockers = ( window._ads !== 2 );
</script>
<div id="article_courses_banner" hidden>
<a href="#" id="acb_close">X</a>
<div>
<div>
<h4 id="acb_header"></h4>
<p id="acb_text"></p>
</div>
<div>
<a class="button" href="/Course/Explore?utm_source=wikihow&utm_medium=banner&utm_campaign=coursebanner" id="acb_button"></a>
</div>
</div>
</div><div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">
<div class="pswp__bg"></div>
<div class="pswp__scroll-wrap">
<div class="pswp__container">
<div class="pswp__item"></div>
<div class="pswp__item"></div>
<div class="pswp__item"></div>
</div>
<div class="pswp__ui pswp__ui--hidden">
<div class="pswp__top-bar">
<div class="pswp__method_high"></div>
<div class="pswp__button pswp__button--close" title="Close (Esc)"></div>
<div class="pswp__button pswp__button--share" title="Share"></div>
<div class="pswp__button pswp__button--fs" title="Toggle fullscreen"></div>
<div class="pswp__button pswp__button--zoom" title="Zoom in/out"></div>
<div class="pswp__preloader">
<div class="pswp__preloader__icn">
<div class="pswp__preloader__cut">
<div class="pswp__preloader__donut"></div>
</div>
</div>
</div>
</div>
<div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
<div class="pswp__share-tooltip"></div>
</div>
<div class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
</div>
<div class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
</div>
<div class="pswp__caption">
<div class="pswp__caption__center"></div>
<div class="pswp__caption__info"></div>
</div>
<div class="pswp__method"></div>
<div class="pswp__counter"></div>
</div>
</div>
</div>
</div></div><div id="servedtime" style="display:none" data-app="app1">641</div><script async="" src="/load.php?debug=false&lang=en&modules=startup&only=scripts&siterev=d2xZf&skin=wh&target=mobile"></script>
<noscript> <style> .mwimg a.image{display:none}#header_logo{display:none}#cse-search-box{display:none}#cse-search-box-noscript{display:block !important}#cse-search-box-noscript .cse_q{color:#FFF;background-color:#B3CE9C}.wh_search .cse_q{width:88%}#mw-mf-main-menu-button{display:none;visibility:hidden}.header .search{display:none}#search_footer .cse_sa{background-image:url(/extensions/wikihow/mobile/images/white_mag.png);background-size:22px}.related_box{display:block;background:#EEE;border:5px solid #FFF;vertical-align:bottom;width:127px;background-size:180px;float:left;height:120px;position:relative}.related_box p{line-height:15px !important;font-size:13px;background-color:rgba(67,95,44,.4);color:#FFF;font-weight:bold;padding:8px;margin:0 !important;position:absolute;bottom:0}#noscript_header_logo{display:table-cell;vertical-align:middle;background-position:50% 77%;background-repeat:no-repeat;background-image:url(/extensions/wikihow/mobile/images/wikihow_logo_230.png);background-size:105px;width:auto;height:51px;padding:0 14px}.articleinfo{display:none}#iorg_free_data{z-index:50;width:100%;position:fixed}#ara_recommendations{display:none}</style> </noscript>
<script>(window.RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgPageParseReport":{"limitreport":{"cputime":"0.072","walltime":"0.134","ppvisitednodes":{"value":3098,"limit":1000000},"ppgeneratednodes":{"value":6567,"limit":1000000},"postexpandincludesize":{"value":11623,"limit":2097152},"templateargumentsize":{"value":591,"limit":2097152},"expansiondepth":{"value":7,"limit":40},"expensivefunctioncount":{"value":0,"limit":100},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":2076,"limit":5000000},"timingprofile":["100.00% 56.891 1 -total"," 61.15% 34.788 4 Template:Keypress"," 54.17% 30.818 8 Template:Keypress/core"," 10.01% 5.692 1 Template:Reflist"," 9.97% 5.671 5 Template:MacButton"," 4.32% 2.460 5 Template:Kbd"," 3.21% 1.826 1 Template:Iphone"," 3.12% 1.772 5 Template:Linear-gradient"," 2.56% 1.459 5 Template:Border-radius"," 2.36% 1.343 1 Summary:Copy-Source-Code"]},"cachereport":{"timestamp":"20210821135549","ttl":86400,"transientcontent":false}}});});</script><script>(window.RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgBackendResponseTime":642});});</script><script>if ( WH.shared.isDesktopSize && WH.hasAdBlockers ) {
var newScript = document.createElement('script');
newScript.async = true;
newScript.type = 'text/javascript';
// 'videoplayerhub.com' is sometimes blocked, as it appears in:
// https://github.com/easylist/easylist/blob/master/easyprivacy/easyprivacy_trackingservers.txt
newScript.src = 'https://wikihow-com.videoplayerhub.com/galleryloader.js';
var node = document.getElementsByTagName('script')[0];
node.parentNode.insertBefore(newScript, node);
var size = false;
var eventData = {
'size':size,
};
WH.event('galleryloader_init', eventData);
}
</script></body></html>