Adding HTML to a Wordpress Page/Post
There may be times when you want to use HTML in your WordPress website. For example you may prefer to code a hyperlink by hand, or adjust the header sizes. In this tutorial we will show you how to view/add HTML code to a Page or Post in WordPress.
Here is a list of the specific HTML tags that WordPress allows: address, a, abbr, acronym, area, article, aside, b, big, blockquote, br, caption, cite, class, code, col, del, details, dd, div, dl, dt, em, figure, figcaption, footer, font, h1, h2, h3, h4, h5, h6, header, hgroup, hr, i, img, ins, kbd, li, map, ol, p, pre, q, s, section, small, span, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, var
How to Add HTML to a Page/Post:
- Login to the Dashboard for WordPress.
- In the navigation menu click the Pages or Posts link, depending which one you want to add HTML to. In my tests I clicked Posts.
- Now, click the page or post that you want to edit.
- Click the Text tab.
You will then see the text of the page or post and you can enter the HTML. In my Tests I am adding a Link to an email address:
- Click the Update button to save your changes.
Here is view of the HTML link I added to a Post:
Congratulations, now you know how to add HTML to a WordPress Page or Post!
Support Center Login
Social Media Login
An introduction to WordPress
|1.||How to Create a WordPress Page|
|2.||How to Create a Post in WordPress|
|3.||How to Create Categories in WordPress|
|4.||Getting Started with Pre-installed WordPress|
|5.||What is WordPress?|
|6.||What kind of website can I build with WordPress?|
|7.||The WordPress Site Structure Explained|
|8.||Getting Started: How to install Wordpress|
|9.||How to install WordPress using Softaculous|
|10.||How to Install WordPress Manually|
|11.||How to Install WordPress on an Addon Domain|
|12.||Installing WordPress using your Temporary URL|
|13.||How to Log in to your WordPress Dashboard|
|14.||Configuring your WordPress Home Page|
Managing WordPress content
|15.||Wordpress Pages vs Posts|
|16.||Adding HTML to a Wordpress Page/Post|
|17.||Creating a link in Wordpress|
|18.||Allowing User Registration in Wordpress|
|19.||How to Create a Wordpress User in the Dashboard|
|20.||Changing a User's Role In Wordpress|
2016-07-31 3:08 am
Just followed the steps, and added Badge for Blogger Network HTML code to my site, Thank you!
2016-08-27 6:22 am
How can i insert preload animation in my wordpress blog please reply.
2016-08-29 3:18 pm
Are you talking about an animated gif? It would be added the same, with an img reference.
2016-09-16 10:27 am
Thank you very much. You just brought me from going crazy mode to now I get it mode. Wonderful.
2016-09-19 4:23 pm
I need to add code to the header area of my web site. I have no idea where to see that as it is not on the page I want to add some code to.
Can you tell me where I can edit the header?
Thanks in advance.
2016-09-19 6:54 pm
I've tried adding code to the text page, but when I update it disappears. I'm trying to add some specific spacing using a <p><p/> tag and a <br/>tag and neither of them stay when I update ???? :(
2016-09-20 7:49 am
Try adding <p>$nbsp;</p> and see if that helps. <p></p> is blank and may be stripped out.