Category Archives: HTML

HTML – Hypertext Markup Language


XHTML (Extensible Hypertext Markup Language) is a family of XML markup languages that mirror or extend versions of the widely used Hypertext Markup Language (HTML), the language in which web pages are written. While HTML (prior to HTML5) was defined as an application of Standard Generalized Markup Language (SGML), a very flexible markup language framework, XHTML is an application of XML, […]

Social Media Sharing Menu Using CSS and jQuery

Become a Facebook Fan of Six Revisions. In this tutorial, we will show you how to create a social media share menu using CSS and jQuery. We are going to create the menu using basics CSS such as the CSS background-position property and a little jQuery to make the links animated. Final Result Click on […]

HTML Meta Tags

Example: Describe metadata within an HTML document: <meta name=”description” content=”Free Web tutorials” /> <meta name=”keywords” content=”HTML,CSS,XML,JavaScript” /> <meta name=”author” content=”Hege Refsnes” /> <meta http-equiv=”Content-Type” content=”text/html;charset=ISO-8859-1″ /> Definition and Usage Metadata is information about data. The <meta> tag provides metadata about the HTML document. Metadata will not be displayed on the page, but will be machine […]

CSS Borders

Borders can be applied to most HTML elements within the body. To make a border around an element, all you need is border-style. The values can be solid, dotted, dashed, double, groove, ridge, inset and outset. border-width sets the width of the border, which is usually in pixels. There are also properties for border-top-width, border-right-width, […]

CSS Margins and Padding

margin and padding are the two most commonly used properties for spacing-out elements. A margin is the space outside of the element, whereas padding is the space inside the element. Change the CSS code for h2 to the following:   h2 {         font-size: 1.5em;         background-color: #ccc;         margin: 1em;         padding: 3em; } […]

CSS Selectors, Properties, and Values

Whereas HTML has tags, CSS has ‘selectors‘. Selectors are the names given to styles in internal and external style sheets. In this CSS Beginner Tutorial we will be concentrating on HTML selectors, which are simply the names of HTML tags and are used to change the style of a specific tag. For each selector there […]

Applying CSS

There are three ways to apply CSS to HTML. In-line: In-line styles are plonked straight into the HTML tags using the style attribute. They look something like this:   <p style=”color: red”>text</p> This will make that specific paragraph red. But, if you remember, the best-practice approach is that the HTML should be a stand-alone, presentation […]