{"id":2709,"date":"2013-05-13T17:59:32","date_gmt":"2013-05-13T21:59:32","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2013\/05\/13\/adding-html-wordpress\/"},"modified":"2025-02-13T12:40:24","modified_gmt":"2025-02-13T17:40:24","slug":"adding-html-wordpress","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/","title":{"rendered":"Adding HTML to a WordPress Page\/Post"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/05\/html-wordpress-featured-1024x538.png\" alt=\"featured image with text adding html to a wordpress post or page\" class=\"wp-image-129337\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/05\/html-wordpress-featured-1024x538.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/05\/html-wordpress-featured-300x158.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/05\/html-wordpress-featured-768x403.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/05\/html-wordpress-featured.png 1200w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p>In this tutorial, we\u2019ll show you all the methods for viewing and adding HTML code to a Page or Post in WordPress. There may be times when you want to use <strong>HTML<\/strong> in your <a href=\"https:\/\/www.inmotionhosting.com\/wordpress-hosting\"><strong>WordPress<\/strong> website<\/a>. For example, you can code a hyperlink by hand or view the entire post in HTML and make several changes at once.<\/p>\n\n\n\n<p>So, follow along as we cover the steps for the latest editor (Gutenberg) as well as the classic editor.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"jetpack-video-wrapper\"><div class=\"yt-NwwKM7vLj_w\">\n\t<a class=\"play-video-NwwKM7vLj_w\" style=\"position: relative; display: flex; flex-wrap: wrap; align-items: center; cursor: pointer;\">\n\t\t<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i.ytimg.com\/vi_webp\/NwwKM7vLj_w\/maxresdefault.webp\" width=\"1280\" height=\"720\" alt=\"How to Add HTML to Your WordPress Page or Post\" style=\"width: 100%; height: auto;\">\n\t\t<span class=\"fa fa-imh-play-circle imh-ds-icon play-circle\" style=\"position: absolute; display:block; font-size:150px; color: #c52228; opacity:0;\"><\/span>\n\t<\/a>\n<\/div><\/div>\n<\/div><figcaption class=\"wp-element-caption\">Don\u2019t have time to read our full guide? Watch our walk-through video.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"add-html\">How to Add HTML to a Page\/Post<\/h2>\n\n\n\n<p>In the latest version of the WordPress editor, there are 3 ways to add HTML to a page or post. You can <a href=\"#custom\">add a Custom HTML block<\/a>, <a href=\"#block\">edit a single block as HTML<\/a>, or <a href=\"#full\">edit the entire page\/post HTML with the code editor<\/a>. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"custom\">Add a Custom HTML Block<\/h3>\n\n\n\n<p>Keep in mind that if you use this option, you will not be able to switch back to the visual editor.<\/p>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/logging-into-wordpress-dashboard\/\">Login to your WordPress Dashboard<\/a>.<\/li>\n\n\n\n<li>In the navigation menu click the <strong>Pages<\/strong> or <strong>Posts<\/strong> link, depending which one you want to add HTML to. For the purpose of this tutorial we\u2019re modifying a Post.<br><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"312\" class=\"wp-image-94800\" style=\"width: 750px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-edit-access-posts.png\" alt=\"Accessing the Posts Listing in WordPress\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-edit-access-posts.png 541w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-edit-access-posts-300x125.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n\n\n\n<li>Roll your mouse over the one you want to add HTML to and click the <strong>Edit<\/strong> button.<br><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"303\" class=\"wp-image-94799\" style=\"width: 750px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-edit-post.png\" alt=\"Editing a Post in WordPress\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-edit-post.png 731w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-edit-post-300x121.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n\n\n\n<li>Navigate to the section you want to add HTML to and click the plus <strong>+<\/strong> button.<br><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"286\" class=\"wp-image-94801\" style=\"width: 750px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-new-block.png\" alt=\"Add New Block to Page\/Post\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-new-block.png 698w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-new-block-300x114.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n\n\n\n<li>Type <strong>HTML<\/strong> in the search box.<\/li>\n\n\n\n<li>Click the <strong>Custom HTML<\/strong> option.<br><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"584\" class=\"wp-image-94802\" style=\"width: 750px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-custom-html-block.png\" alt=\"Selecting the Custom HTML Block\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-custom-html-block.png 451w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-custom-html-block-300x233.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n\n\n\n<li>A new block will be created where you can add your HTML code as needed.<br><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"322\" class=\"wp-image-94803\" style=\"width: 750px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-add-custom-html.png\" alt=\"Adding Code to a Custom HTML Block\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-add-custom-html.png 844w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-add-custom-html-300x129.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-add-custom-html-768x329.png 768w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"block\">Edit A Single Block as HTML<\/h3>\n\n\n\n<p>If you have an existing block WordPress allows you to switch to the code editor. You can then view and modify the HTML as needed. This is a good option if you only want to make changes to a single section of the page or post. <\/p>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li>Edit a page or post in the WordPress Dashboard.<\/li>\n\n\n\n<li>Click the block you want to modify.<\/li>\n\n\n\n<li>Select the options link, it looks like 3 dots.<br><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"320\" class=\"wp-image-94805\" style=\"width: 750px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-block-options.png\" alt=\"WordPress Block Options\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-block-options.png 833w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-block-options-300x128.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-block-options-768x327.png 768w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n\n\n\n<li>Choose the <strong>Edit as HTML<\/strong> option.<br><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"314\" class=\"wp-image-94806\" style=\"width: 750px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-edit-as-html.png\" alt=\"Editing Block As HTML\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-edit-as-html.png 671w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-edit-as-html-300x126.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n\n\n\n<li>You will then see the HTML code for that block and can modify it as needed.<br><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"26\" class=\"wp-image-94807\" style=\"width: 150px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-editing-block.png\" alt=\"Using the Code Editor\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-editing-block.png 663w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-editing-block-300x51.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n\n\n\n<li>If you want to switch back to the Visual editor click the block again, select <strong>option<\/strong>, then choose<strong> Edit visually<\/strong>.<br><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"395\" class=\"wp-image-94808\" style=\"width: 750px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-edit-visually.png\" alt=\"Edit Page\/Post Visually\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-edit-visually.png 663w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-edit-visually-300x158.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"full\">Edit Full Page\/Post With the Code Editor<\/h3>\n\n\n\n<p>The third option is to edit the entire page or post with HTML. This method is a quick way to make HTML changes to several sections of the page or post at the same time. <\/p>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li>Edit the page or post you want to modify.<\/li>\n\n\n\n<li>Click the <strong>Options<\/strong> menu on the top right of the screen. It looks like 3 vertical dots.<br><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"229\" class=\"wp-image-94810\" style=\"width: 750px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-page-options.png\" alt=\"Edit Page Options in WordPress\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-page-options.png 850w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-page-options-300x91.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-page-options-768x234.png 768w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n\n\n\n<li>Choose the <strong>Code editor<\/strong> section under <em>Editor<\/em>. Another option is to click the <strong>Ctrl+Shift+Alt+M<\/strong> keys at the same time. <br><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"284\" class=\"wp-image-94811\" style=\"width: 750px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-access-code-editor.png\" alt=\"Accessing the Page\/Post Code Editor\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-access-code-editor.png 846w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-access-code-editor-300x113.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-access-code-editor-768x290.png 768w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n\n\n\n<li>Will then see the entire page\/post as HTML and can add code as needed.<br><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"381\" class=\"wp-image-94812\" style=\"width: 750px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-code-editor.png\" alt=\"Full Page Code Editor in WordPress\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-code-editor.png 1040w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-code-editor-300x153.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-code-editor-1024x521.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-code-editor-768x391.png 768w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"classic\">Add HTML to a Page\/Post With the Classic Editor<\/h2>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li>Navigate to the page or post you want to modify and edit it.<\/li>\n\n\n\n<li>Click the <strong>Text<\/strong> tab. You will then see the text of the page or post and you can enter the HTML. <br><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"249\" class=\"wp-image-94813\" style=\"width: 750px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-classic-editor.png\" alt=\"Accessing the Text Tab in the Classic Editor\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-classic-editor.png 694w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-classic-editor-300x99.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n\n\n\n<li>Add your HTML as needed.<br><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"304\" class=\"wp-image-94815\" style=\"width: 750px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-classic-text-editor.png\" alt=\"Classic Text Editor in WordPress\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-classic-text-editor.png 703w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/03\/adding-html-to-a-page-post-classic-text-editor-300x122.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n<\/ol>\n\n\n\n<p>Congratulations, now you know how to add HTML to a WordPress <em>Page<\/em> or <em>Post! <\/em>Looking for more guides? Check out our <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wordpress-how-to-articles\/\">WordPress How To Articles<\/a>!<\/p>\n\n\n<div style=\"background:#fff; padding:20px;\">\r\n<div class=\"row\"><div class=\"col-md-4 col-sm-1\">\r\n<a href=\"\/blog\/ebooks\/small-business-owners-guide-to-wordpress\/\" target=\"_blank\" rel=\"noopener noreferrer\" title=\"Download the Small Business Owners Guide To WordPress eBook\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-10347\" src=\"https:\/\/www.inmotionhosting.com\/blog\/wp-content\/uploads\/2020\/07\/WP-eBook-Cover-v2-300x245.png\" alt=\"Small Business Owners Guide To WordPress\" width=\"300\" height=\"245\" \/><\/a><\/div>\r\n\t<div class=\"col-md-8 col-sm-1\">\r\n<p style=\"font-size:20px;\"><strong>Get our Free Step-by-Step Guide to Creating a WordPress Website<\/strong><\/p>\r\n<p style=\"font-size:18px;\">Learn the ins and outs of creating a winning WordPress site step-by-step, from start to finish.<\/p>\r\n<p><a href=\"\/blog\/ebooks\/small-business-owners-guide-to-wordpress\/\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"btn btn-primary btn-lg\" style=\"padding:12px;font-weight:bold;font-size:1.2em;display:block;margin-left:auto;margin-right:auto;max-width:250px;\">Download for Free<\/a><\/p>\r\n<\/div><\/div>\r\n<\/div>\r\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we&#8217;ll show you all the methods for viewing and adding HTML code to a Page or Post in WordPress. There may be times when you want to use HTML in your WordPress website. For example, you can code a hyperlink by hand or view the entire post in HTML and make several<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/\"> Read More ><\/a><\/p>\n","protected":false},"author":3,"featured_media":129337,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4325,56],"tags":[],"class_list":["post-2709","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-hosting","category-wordpress"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Adding HTML to a WordPress Page or Post<\/title>\n<meta name=\"description\" content=\"Learn how to add HTML code to a Wordpress Page or Post.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Adding HTML to a WordPress Page or Post\" \/>\n<meta property=\"og:description\" content=\"Learn how to add HTML code to a Wordpress Page or Post.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2013-05-13T21:59:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-13T17:40:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/05\/html-wordpress-featured.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5fbfcaed32a2672fb83ab312f5b7237b\"},\"headline\":\"Adding HTML to a WordPress Page\/Post\",\"datePublished\":\"2013-05-13T21:59:32+00:00\",\"dateModified\":\"2025-02-13T17:40:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/\"},\"wordCount\":574,\"commentCount\":130,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/05\/html-wordpress-featured.png\",\"articleSection\":[\"WordPress Hosting\",\"WordPress Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/\",\"name\":\"Adding HTML to a WordPress Page or Post\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/05\/html-wordpress-featured.png\",\"datePublished\":\"2013-05-13T21:59:32+00:00\",\"dateModified\":\"2025-02-13T17:40:24+00:00\",\"description\":\"Learn how to add HTML code to a Wordpress Page or Post.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/05\/html-wordpress-featured.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/05\/html-wordpress-featured.png\",\"width\":1200,\"height\":630,\"caption\":\"featured image with text adding html to a wordpress post or page\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Adding HTML to a WordPress Page\/Post\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5fbfcaed32a2672fb83ab312f5b7237b\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/john-paul\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Adding HTML to a WordPress Page or Post","description":"Learn how to add HTML code to a Wordpress Page or Post.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"Adding HTML to a WordPress Page or Post","og_description":"Learn how to add HTML code to a Wordpress Page or Post.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2013-05-13T21:59:32+00:00","article_modified_time":"2025-02-13T17:40:24+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/05\/html-wordpress-featured.png","type":"image\/png"}],"author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5fbfcaed32a2672fb83ab312f5b7237b"},"headline":"Adding HTML to a WordPress Page\/Post","datePublished":"2013-05-13T21:59:32+00:00","dateModified":"2025-02-13T17:40:24+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/"},"wordCount":574,"commentCount":130,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/05\/html-wordpress-featured.png","articleSection":["WordPress Hosting","WordPress Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/","name":"Adding HTML to a WordPress Page or Post","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/05\/html-wordpress-featured.png","datePublished":"2013-05-13T21:59:32+00:00","dateModified":"2025-02-13T17:40:24+00:00","description":"Learn how to add HTML code to a Wordpress Page or Post.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/05\/html-wordpress-featured.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/05\/html-wordpress-featured.png","width":1200,"height":630,"caption":"featured image with text adding html to a wordpress post or page"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/adding-html-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Adding HTML to a WordPress Page\/Post"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5fbfcaed32a2672fb83ab312f5b7237b","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/john-paul\/"}]}},"jetpack_featured_media_url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/05\/html-wordpress-featured.png","jetpack_sharing_enabled":true,"primary_category":{"id":56,"name":"WordPress Tutorials","slug":"wordpress","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/2709","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=2709"}],"version-history":[{"count":20,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/2709\/revisions"}],"predecessor-version":[{"id":129339,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/2709\/revisions\/129339"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media\/129337"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=2709"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=2709"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=2709"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}