Author: admin

  • CSS Text

    by

    in

    Formatting Text with CSS CSS provides several properties that allows you to define various text styles such as color, alignment, spacing, decoration, transformation, etc. very easily and effectively. The commonly used text properties are: text-align, text-decoration, text-transform, text-indent, line-height, letter-spacing, word-spacing, and more. These properties give you precise control over the visual appearance of the characters, words, spaces, and so on. Let’s see how to…

  • CSS Fonts

    by

    in

    Styling Fonts with CSS Choosing the right font and style is very crucial for the readability of text on a page. CSS provide several properties for styling the font of the text, including changing their face, controlling their size and boldness, managing variant, and so on. The font properties are: font-family, font-style, font-weight, font-size, and font-variant. Let’s discuss each of…

  • CSS Background

    by

    in

    Setting Background Properties Background plays an important role in the visual presentation of a web page. CSS provide several properties for styling the background of an element, including coloring the background, placing images in the background and managing their positioning, etc. The background properties are background-color, background-image, background-repeat, background-attachment and background-position. In the following section we will discuss each of these…

  • CSS Color

    by

    in

    Setting Color Property The color property defines the text color (foreground color in general) of an element. For instance, the color property specified in the body selector defines the default text color for the whole page. Let’s try out the following example to see how it works: Example Note: The color property normally inherits the color value from their parent element, except the case…

  • CSS Syntax

    by

    in

    Understanding CSS Syntax A CSS stylesheet consists of a set of rules that are interpreted by the web browser and then applied to the corresponding elements such as paragraphs, headings, etc. in the document. A CSS rule have two main parts, a selector and one or more declarations: The selector specifies which element or elements…

  • CSS Getting Started

    by

    in

    Getting Started with CSS In this tutorial you’ll learn how easy it is to add style and formatting information to the web pages using CSS. But, before we begin, make sure that you have some working knowledge of HTML. If you’re just starting out in the world of web development, start learning from here » Without…

  • CSS Tutorial

    by

    in

    CSS stands for Cascading Style Sheets. CSS is a standard style sheet language used for describing the presentation (i.e. the layout and formatting) of the web pages. Prior to CSS, nearly all of the presentational attributes of HTML documents were contained within the HTML markup (specifically inside the HTML tags); all the font colors, background…

  • HTML5 Examples

    HTML Basic A simple HTML document Specify headings for the content Inserting paragraphs of text content Creating links to other HTML documents or Web resources Inserting images into the HTML document HTML Text Headings – h1 to h6 Paragraph and line breaks Text formatting Preformatted text (Preserve line breaks and spaces) Sub and Superscript text…

  • HTML5 Drag and Drop

    Drag and Drop an Element The HTML5 drag and drop feature allows the user to drag and drop an element to another location. The drop location may be a different application. While dragging an element a translucent representation of the element is follow the mouse pointer. Let’s try out the following example to understand how…

  • HTML5 Geolocation

    What is Geolocation? The HTML5 geolocation feature lets you find out the geographic coordinates (latitude and longitude numbers) of the current location of your website’s visitor. This feature is helpful for providing better browsing experience to the site visitor. For example, you can return the search results that are physically close to the user’s location.…