The Head tag is the first section. It contains all data relevant to the web page’s purpose and information. This includes meta data, title, external file sources, etc. Several websites also contain important information pertaining to the website traffic analytics, page rank, etc. All of these are contained within this segment. {“smallUrl”:“https://www. wikihow. com/images/thumb/1/1b/Use-HTML-and-CSS-Step-1Bullet1. jpg/v4-460px-Use-HTML-and-CSS-Step-1Bullet1. jpg”,“bigUrl”:"/images/thumb/1/1b/Use-HTML-and-CSS-Step-1Bullet1. jpg/aid4545843-v4-728px-Use-HTML-and-CSS-Step-1Bullet1. jpg",“smallWidth”:460,“smallHeight”:345,“bigWidth”:728,“bigHeight”:546,“licensing”:"<div class="mw-parser-output">

License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en. wikipedia. org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"} Next comes the Body tag. This is the main centre for the webpage structure. The website’s wireframe or building blocks are mentioned here. You actually mention elements and tags here in this space. According to the order in which you mention, the elements get placed in the final webpage. {“smallUrl”:“https://www. wikihow. com/images/thumb/6/65/Use-HTML-and-CSS-Step-1Bullet2. jpg/v4-460px-Use-HTML-and-CSS-Step-1Bullet2. jpg”,“bigUrl”:"/images/thumb/6/65/Use-HTML-and-CSS-Step-1Bullet2. jpg/aid4545843-v4-728px-Use-HTML-and-CSS-Step-1Bullet2. jpg",“smallWidth”:460,“smallHeight”:345,“bigWidth”:728,“bigHeight”:546,“licensing”:"<div class="mw-parser-output">

License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en. wikipedia. org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"} So, for example, if we write a form tag and then an image tag; we would find our webpage displaying a form and below that an image (but of course these orders and positions can be altered with high grade CSS). So, if you have a design in hand, just keep on adding elements according to your design flow. The different segments (left, right , center) of a webpage must be treated accordingly. For that we have the table tag or list tags. Learn all the types of tags available in HTML and understand their implementation. Finally comes the Foot section. This section normally contains all that is visible in the webpage footer area. However, we do not normally include this separately. Instead, the footer contents are appended to the body itself {“smallUrl”:“https://www. wikihow. com/images/thumb/c/c4/Use-HTML-and-CSS-Step-1Bullet3. jpg/v4-460px-Use-HTML-and-CSS-Step-1Bullet3. jpg”,“bigUrl”:"/images/thumb/c/c4/Use-HTML-and-CSS-Step-1Bullet3. jpg/aid4545843-v4-728px-Use-HTML-and-CSS-Step-1Bullet3. jpg",“smallWidth”:460,“smallHeight”:345,“bigWidth”:728,“bigHeight”:546,“licensing”:"<div class="mw-parser-output">

License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en. wikipedia. org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"}

CSS defined style codes include font behaviour, color, height, width, display style, etc. They also include behavioural definition for mouseover and mouse-out events. In fact, with the latest inclusion of CSS3, styling has been enhanced to a very different level. Now, you can create animations, transformations and transitions - all from the CSS codes.  Mostly we use CSS to declare width, height, color, font, etc. These are the most common styling options, and help us define the appearance and position of the several HTML elements.

While declaring with class name, in the CSS file, add a dot in front. For ids, add a hash in front of the name. That is the syntax. Now, the most important part. So, what is the difference between classes and ids? They can’t be same if they co-exist. Yes, there is a huge difference. In your HTML document, you can name as many elements you want with the same class name. But ids must be dedicated to one single element. Therefore, classes are used when we need the same style for multiple items on the HTML page, and ids for styling one single item exclusively.

f we want the style to be implemented only on the element inside the form, we can do this - form input { /* Declare the style here */ }. So, notice how we accessed the input element we want to style specifically. First the parent and then the main element. In this way, the outer input elements get discarded.