Showing posts with label Web Language. Show all posts
Showing posts with label Web Language. Show all posts

Monday, 18 April 2016

CSS



CSS stands for Cascading Style Sheets. Styles define how to display HTML elements. Styles were added to HTML 4.0 to solve a problem. External Style Sheets can save a lot of work. External Style Sheets are stored in CSS files. CSS defines HOW HTML elements are to be displayed.

Types of Style Sheets:-A style sheet is a set of stylistic CSS rules that tell a browser how the different parts of a XHTML document are presented. A style sheet is simply a text file with the file name extension .css.
1. Linked / External   2. Embedded / Internal    3. Inline
Linked / External:- Once your <div> tags are in place, add either a class or ID for styling each <div>separately. For parts of the page that appear only once and form the basic building blocks of the page, web designers usually use an ID.ID selectors are identified using a hash character (#); class selectors are identified with a period.
<link href=“styles.css" rel="stylesheet" type="text/css" />
Embedded / Internal:-

<head>
<style type=“text/css”></style>
/* styles go here */
</head>
Inline :-

<div style=“/* styles go here */”>Text</div>

Friday, 15 April 2016

HTML



Hypertext Markup Language (HTML) is the main mark-up language for web pages. HTML elements are the basic building-blocks of webpages.HTML is written in the form of HTML elements consisting of tags enclosed in angle brackets (like <html>), within the web page content. The purpose of a web browser is to read HTML documents and compose them into visible or audible web pages. The browser does not display the HTML tags, but uses the tags to interpret the content of the page.HTML elements form the building blocks of all websites. HTML allows images and objects to be embedded and can be used to create interactive forms. It provides a means to create structured documents by denoting structural semantics for text such as headings, paragraphs, lists, links, quotes and other items. It can embed scripts in languages such as JavaScript which affect the behavior of HTML webpages.

To learn more about HTML follow at: http://www.w3schools.com/html/