{"id":1690,"date":"2010-11-15T10:24:58","date_gmt":"2010-11-15T10:24:58","guid":{"rendered":"http:\/\/mts-help.nick.php.dev\/after_sale_support\/working_with_html\/Basic\/article25.html"},"modified":"2015-09-17T07:53:50","modified_gmt":"2015-09-17T11:53:50","slug":"adding-images-using-html-editor","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/adding-images-using-html-editor.html","title":{"rendered":"Adding images using HTML editor"},"content":{"rendered":"<p>This tutorial shows how to add images in HTML editor. You can add images to your HTML page with any HTML editor however we recommend using <strong>Adobe Dreamweaver<\/strong> or <strong>Notepad++<\/strong> applications. <\/p>\r\n<h3>Design Mode<\/h3>\r\n<p>Adobe Dreamweaver offers web developers to edit HTML files in design mode. This mode is effective if you are not professional web developer. It let&#8217;s you see the HTML page as it will be displayed in browser. <\/p>\r\n<p>To add an image to the HTML page using design mode please do the following:<\/p>\r\n<p><strong>1.<\/strong> Make sure you are in <strong>Design<\/strong> mode. Click <strong>Design<\/strong> button in the top left corner of your screen <\/p>\r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2010\/11\/dreamweaver-design-mode-11.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2010\/11\/dreamweaver-design-mode-11-300x143.jpg\" alt=\"\" title=\"dreamweaver-design-mode-1\" width=\"300\" height=\"143\" class=\"aligncenter size-medium wp-image-15119\" \/><\/a>\r\n<p><strong>2.<\/strong> Put  cursor where you want to insert an image.<\/p>\r\n<p><strong>3.<\/strong> From the top menu select <strong>Insert &gt;  Image<\/strong><\/p>\r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2010\/11\/dw-insert-image-2.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2010\/11\/dw-insert-image-2-219x300.jpg\" alt=\"\" title=\"dw-insert-image-2\" width=\"219\" height=\"300\" class=\"aligncenter size-medium wp-image-15121\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2010\/11\/dw-insert-image-2-219x300.jpg 219w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2010\/11\/dw-insert-image-2.jpg 389w\" sizes=\"(max-width: 219px) 100vw, 219px\" \/><\/a>\r\n<p><strong>4.<\/strong> In the appeared window select the image from your computer and click <strong>OK.<\/strong> <\/p>\r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2010\/11\/dw-insert-image-3.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2010\/11\/dw-insert-image-3-300x261.jpg\" alt=\"\" title=\"dw-insert-image-3\" width=\"300\" height=\"261\" class=\"aligncenter size-medium wp-image-15120\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2010\/11\/dw-insert-image-3-300x261.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2010\/11\/dw-insert-image-3.jpg 832w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<p>As a result you will see an image added to your page. <\/p>\r\n\r\n<p><strong>To avoid errors please make sure:<\/strong><\/p>\r\n<ol>\r\n  <li>Image should be on the same drive with your HTML page file<\/li>\r\n  <li>We recommend to put an image into the <strong>&#8216;images&#8217;<\/strong> directory located in the same directory with the HTML file<\/li>\r\n  <li>If you upload images and HTML files to your hosting server &#8211; make sure to keep same files structure<\/li>\r\n<\/ol>\r\n\r\n<h3>Code mode<\/h3>\r\n<p>If you are adding image in the code mode you need to use IMG tag. Please use the code below:<\/p>\r\n<pre class=\"brush:html\">&lt;img src=&quot;root_to_the_image_file&quot; alt=&quot;image_description&quot;\/&gt;<\/pre>\r\n<p>Using the <strong>img<\/strong> tag you can add image to any place of your HTML page. There are 2 required tag attributes: <strong>src<\/strong> and <strong>alt<\/strong>. <\/p>\r\n<p>SRC attribute contains root to the image file. It can be located on your server or at some other one. <\/p>\r\n<p>ALT alternative description for the image. The attribute will show text when you hover your mouse cursor over the image. It is required for the page validation. <\/p>\r\n<p>The path to the image can be relative and absolute. You can learn more about paths checking the tutorial on<a href=\"\/help\/ru\/setting-links-html-editor.html\" target=\"_blank\"> how to assign links<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial shows how to add images in HTML editor. You can add images to your HTML page with any HTML editor however we recommend using <strong>Adobe Dreamweaver<\/strong> or <strong>Notepad++<\/strong> applications.<\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[253],"tags":[2411,494],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/1690"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=1690"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/1690\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=1690"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=1690"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=1690"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}