Introduction to HTML Syntax | Web Design Tutorials

Welcome. In this tutorial, we’re going to talk about the HTML markup language. HTML is a very useful language and its syntax is easy to learn. HTML uses a system of tags to render text and display elements in web browsers and mobile devices. Although most people can write for the web without knowing much code using blogs like WP, knowing even some basic HTML is useful for customizing pages and troublshooting difficult layouts. Let’s start by talking about the structure, or syntax, of HTML. Just like human languages, even computer languages must conform to a specific set of rules if they are to be interpreted correctly by a web browser. HTML has a simple syntax that uses a system of tags to label or markup different elements. Each HTML element will begin with an opening tag, which consists of an opening carrot, an element, such as a level 1 heading using the H1 tag, and then a closing carrot. Then, you could fill add some basic text that would be formatted using whatever h1 heading rules are specified. Finally, you would want to add a closing tag using an opening carrot, a forward slash, the HTML element and finally a closing carrot. Now that we have written our fist line of HTML code, let’s check out the results in Google Chrome. To do this, first we are going to save the file, and then we are going to copy the file path, which directs the browser to open up a particular file on your hard drive. If we have written all of the HTML with the proper syntax, our first heading should be displayed at the top of the page. Now that we have talked about the basics of HTML syntax, check out the next section on structuring the HTML document.

Add a Comment

Your email address will not be published. Required fields are marked *