Add a Meta Description Tag in HTML5 to Improve SEO
Edited by Grimm, Amanda, Eng
You're watching VisiHow. In this tutorial, we are going to show you how to use the meta description tag. This is a very important tag for your HTML5 documents. It is interpreted by all web browsers as an indication of what your website is about. Let's get started, and we'll explain more as we go.
- 10This tells the browser what to display in the bar or tab for the page. To learn more, check out our tutorial on adding the head and title attributes to an HTML5 document. After this, we need to add a meta tag that gives the browser a description of what our site is about.Then the browser sees the page title.
- 13Because this code is nested in our head section, it needs to be indented to match our other similarly nested code, namely, our meta charset and title tags. To learn more about formatting code, go to our tutorial about formatting HTML5 code for easy reading and editing.Add two spaces using the space bar on the keyboard.
- 17What we want to do with the content is give something descriptive that's not too long. It's okay to add a little bit of branding and a few keywords, but we don't want to go overboard. Add one space by tapping the space bar one time. In our case, we have entered in, " content="A video tutorial on getting started with HTML5, by VisiHow. See it. Do it.">". Note the one space before "content". Our content says that this page is a video tutorial, and then that it is about getting started with HTML5. It also says that it is by VisiHow, and includes a little branding after that, which is "See it. Do It." Some people may argue that this isn't necessarily best practice. However, VisiHow is a brand. It's here to help, and we want to let people know that, and become a trusted brand. In our opinion, a little branding isn't bad, as long as it isn't overdone. Now we have our meta name description set up.Add the content.
- 23Thanks for choosing VisiHow. If you have questions about this or other topics, do please let us know in the section below. Otherwise, have a great day, and we'll see you in our next tutorial.This concludes our tutorial on how to set up the meta name tag for your HTML5 page so that it helps improve your SEO.Advertisement
Video: Add a Meta Description Tag in HTML5 to Improve SEO
Referencing this Article
If you need to reference this article in your work, you can copy-paste the following depending on your required format:
APA (American Psychological Association)
Add a Meta Description Tag in HTML5 to Improve SEO. (2016). In VisiHow. Retrieved Apr 28, 2017, from http://visihow.com/Add_a_Meta_Description_Tag_in_HTML5_to_Improve_SEO
MLA (Modern Language Association) "Add a Meta Description Tag in HTML5 to Improve SEO." VisiHow, visihow.com/Add_a_Meta_Description_Tag_in_HTML5_to_Improve_SEO Accessed 28 Apr 2017.
Chicago / Turabian VisiHow.com. "Add a Meta Description Tag in HTML5 to Improve SEO." Accessed Apr 28, 2017. http://visihow.com/Add_a_Meta_Description_Tag_in_HTML5_to_Improve_SEO.
Categories : Software
Recent edits by: Amanda, Grimm