Home Tutorials WP Theme Lesson #8: How to Validate

WP Theme Lesson #8: How to Validate



Updated on


You need to learn how to validate your codes, before stepping into CSS and working with the style.css file. Validate/Validating/Validation simply means making sure there’s no error. At beginning of this series, I gave you two links to bookmark, XHTML Validator and CSS Validator. For this lesson, you’ll use the XHTML validator.

I’ll keep this lesson very short and simple because you need to more time to sink in everything you’ve learned about XHTML and PHP. Don’t keep moving forward with my lessons. Take the time to reflect and picture the codes in your head. How do you start an invisible box? What’s the difference between an ID and a Class? What PHP function would you use to call for the blog’s title? Blog’s description? The more you picture the more you remember.

After today, you better be ready. When we take on CSS, I’ll dive deep into it because the style.css file is what you’ll work with eighty percent of the time.

For today’s lesson, you need to open only the Xampp Control and browser (pointing to http://localhost/wordpress).

Looking at the browser, go to View > Page Source or Source.

Select all. You can do this by clicking and dragging to highlight all the source codes or simply press Ctrl + a.

Copy all the source codes. That’s right click and copy or Ctrl + c.

Open a tab or another browser pointing to the XHTML Validator.

Go to the bottom of the page, paste the source codes in the Validate by Direct Inputbox. Paste by right click and paste or Ctrl + v.

After clicking Check, the validator will check your codes, then send you to the results page. If the message is green, then you have no errors.

Follow this WordPress Theme Tutorial Series from the beginning.


Please enter your comment!
Please enter your name here

Recent posts

LawBlog WP Theme Review

Regardless of which area of law you practice, it’s imperative that you have proper online representation. You need to give your customers a feeling...

The Deeper Meaning and Purpose Behind Shapes in Web & Graphic Design

Sometimes in web design, a clean website is often the best choice for certain clients. Instead of elaborate backgrounds or too many aesthetic choices,...

How to Easily Design a Website Without Coding

Are you looking to build a website and you don’t know how to code? Online web design services are helpful to create website templates...

The importance of SSL Certificates as part of a web hosting package

Building a successful business requires trust, and gaining trust can be difficult especially when you run a business where it is taken for granted...

How Can Domain Name Extensions Influence Your Brand Name?

Are domain name extensions important in naming your brand? The shortest answer is "Yes." In today's online world, it is the first thing that...

Recent comments