Actually, it tells the user’s computer what things are. Hence, It also provides access to an incredible amount of functionality that’s already built directly into the browser.
Whatever You can call up that functionality through using certain HTML. CSS stands for Cascading Style Sheets. CSS provides visual styling and layout for everything on the web page.
The syntax of HTML elements
Now we will introduce the syntax of HTML elements. In this case, p stands for paragraph. However, We make this HTML by starting out with a less-than symbol. Hence it is followed by the correct letter, or word, or abbreviated word, and finishing with a greater-than symbol. That makes what’s called a tag, an HTML tag.
The syntax itself is fairly simple. The trickier part is knowing which tags to use when. There are actually two kinds of tags, two flavors, opening tags, and closing tags. This p is an opening tag. The closing tag is very similar, but it has a slash in it. Less-than symbol, a forward slash, the letter or word that matches the tag that we’re closing, and a greater-than symbol.
To markup a paragraph properly, we use an opening tag at the beginning of the paragraph, and then a closing tag at the end, like this. The opening tag marks the beginning, the content goes in the middle, and the closing tag marks the end. These opening and closing tags travel the world together, in pairs. The whole thing is called an element.
Now, not every element has a closing tag. We’ll be looking at some of those later. But a lot of the HTML elements do have both an opening and a closing tag. Here are some other examples. There’s a paragraph wrapped in p tags. We wrap a headline in h1 tags. An article is wrapped in an article tag.
Finally, we can recognize the HTML element symbol by the following
HTML Documents tutorial
We need to know that all HTML elements can have attributes. Then Attributes provide additional information about Html elements.
Where Attributes are always specified in the start tag.
Actually Attributes come in name/value pairs like: name=”value”
More about HTML Attributes
Next – HTML Headings Coding Example