Posts

introduction to CSS

What is CSS? CSS  stands for  C ascading  S tyle  S heets CSS describes  how HTML elements are to be displayed on screen, paper,      or in other media CSS  saves a lot of work . It can control the layout of multiple web pages all at once External stylesheets are stored in  CSS files CSS Demo - One HTML Page - Multiple Styles! Here we will show one HTML page displayed with four different stylesheets. Click on the "Stylesheet 1", "Stylesheet 2", "Stylesheet 3", "Stylesheet 4" links below to see the different styles: Why Use CSS? CSS is used to define styles for your web pages, including the design, layout and variations in display for different devices and screen sizes.  CSS Solved a Big Problem HTML was NEVER intended to contain tags for formatting a web page! HTML was created to  describe the content  of a web page, like: <h1>This is a heading</h1> <p>This is...

Learn HTML from beginning to end

All HTML Attributes Attribute Belongs to Description accept <input> Specifies the types of files that the server accepts (only for type="file") accept-charset <form> Specifies the character encodings that are to be used for the form submission accesskey Global Attributes Specifies a shortcut key to activate/focus an element action <form> Specifies where to send the form-data when a form is submitted align Not supported in HTML 5. Specifies the alignment according to surrounding elements. Use CSS instead alt <area> ,  <img> ,  <input> Specifies an alternate text when the original element fails to display async <script> Specifies that the script is executed asynchronously (only for external scripts) autocomplete <form> ,  <input> Specifies whe...