Social Icons

Featured post


Sunday, January 5, 2014

Inline style sheet

Using an inline css coding

Inline styles are added inline to existing X/HTML tags or used in conjunction with the approved HTML 4.00 span tag. The span tag is a container tag that affects all content on the page between it and the closing span tag. For example, the following syntax would place a yellow highlight behind the words Habitat for Humanity:

Habitat for Humanity

You can use inline style definitions to add style attributes to existing X/HTML tags. The following examples demonstrate this technique: css coding

The advantage of using inline styles is that you can designate a set of attributes with a single tag. This method should be used only for occasional style changes. If you plan to use the same inline style more than once in a page, you should consider defining it as a style element in an embedded style header block so you do not waste time repeating inline instructions.

A inline style attribute added directly within HTML tags.

Internal style sheet

Internal or Embedding CSS Information

The embedding method defines styles for a single page and is perhaps the simplest method for using styles. The syntax for embedding a block of style information in a single document is as follows:

style css

Wednesday, January 1, 2014

External Style Sheet

linking to style sheets from and HTML file


With the linking method, a single style sheet controls multiple web pages. However, each page must be linked to the style sheet, which is a plain text file with the .css file name extension. To link a Web site file to the style sheet, use the following syntax:

css link

Style sheet files should include only style information. HTML tags should not be included in your plain-text style sheet file.


Importing style information


Another method for accessing and external style sheet file involves using the @import statement. Using the import method allows you to apply multiple style sheets using one style element. The syntax for using the import method is as follows:

css link

Note that in this method, a semicolon is needed at the end of the @import statement to separate it from any following style information. CSS link to HTML.

Monday, December 30, 2013

Using Style

css style


X/HTML specifies four ways to apply style variations:
  • Linking
  • Importing
  • Embedding
  • Inline

The first two methods refer to external style sheets (text files that use the .css file name extension and contain nothing but style definitions), Which allow you to use styles across multiple Web pages. The third method defines styles for a single page. The third method defines styles for a single page. The fourth method makes quick, temporary style changes to existing X/HTML code, such as spanning a background color or an image behind words.


OR
Three Ways to Use CSS
  • External
  • Internal(Embedding)
  • Inline

CSS

Cascading Style Sheets

css coding

A predefined HTML document structure that includes heading fonts, text layout commands, graphic object placement and other design guidelines.

A style is set of formatting instructions that allow you to define the formatting of X/HTML elements in a document or modify the characteristics of some elements. For example, the heading tags represent various styles: Heading level one is bold, Times New Roman 24-point typeface by default; heading level 4 is bold, Times new 12-point typeface. You can change these and other style attributes in your web pages. You can also control margins, line spacing and placement of design elements, as well as specify colors, fonts and point sizes. CSS code is very easy for creating css websites.

Imagine that your Web page has 12 different level-two headings that you want to appear in red. In the past, you may have added 12 pairs of tags around the 12 headings. What if you wanted to try blue headings? You would have to do a considerable amount of recoding. With style sheets, however, you can add just a few lines of code, then change the colors of all the headings with a single word.

Cascading style sheets refer to the use of multiple style definitions in a single document. CSS is the standard way to format a Web page. A style sheet file can link to every document in a Web site, thus controlling the overall look and feel of the site. However, within the same file a "spanned" style can also override the style information embedded in the header block, along with any style information from the linked style sheet. The term "cascading" refers to inheritance, or the hierarchical relationship between linked, imported, embedded and inline styles.CSS programming is very important for css website.

Sunday, December 1, 2013

HTML Markup Language

HTML as a Markup Language


html for image

HTML is a subset of SGML (Standard General Markup Language) with more forgiving rules that are not followed for XHTML and XML (also subsets).

A markup language is very different from a programming language. Program files and data files exist separately in traditional applications. In a markup language, the instructions and the data reside in the same file. In addition, HTML does not provide data structures or internal logic, as do programming languages such as C and Pascal.

HTML is an application of SGML. It has fewer language elements than SGML, it is easier to use and has become the standard method of encoding information for Web documents. As with GML, HTML facilitates data exchange through a common document format across different types of computer systems and networks on the Web.

Tags of html

Whereas SGML is used specifically to define context as opposed to appearance, HTML has evolved into both a contextual and a formatting language. By applying a heading style to text using HTML, for example, you are not only marking that text contextually as an important line that begins a new section; you are also applying the visual formatting elements of boldface and a larger font size. Table in html



how to make a web page html

HTML Tags

Tags in html

.

Special places of code, enclosed in angle brackets, that tell the HTML interpreter how to process or display text.

HTML files are plain text files that have been "marked up" with special language elements called tags, which are embedded in the text.

Tags are pieces of code text, enclosed in angle brackets(< >), that provide instructions to programs designed to interpret HTML. For example, you might want to change the color of some text in your file. You can do this by embedding opening and closing tags with instructions around the text you wanted colored. If you want an image to appear in your document, you can use a tag to specify the source and placement of the image.



tags for html, html meta tag,html tags list,