Jumat, 20 Januari 2017

Different ways to style the CSS document

There are different ways to specify style information for the HTML elements in a web page. Each method has its own advantages and disadvantages over the other methods. The different ways in which we can specify the style information are: Inline CSS Embedded CSS (Document Level CSS) Imported CSS External CSS Inline CSS In Inline CSS, the style information is specified inline i.e., within the HTML tag. We will use the style attribute of a HTML tag to specify the style information using Inline CSS. The syntax for Inline CSS is as shown below: <tagname  style=“property-name:value”>Content</tagname> An example for specifying

The post Different ways to style the CSS document appeared first on Coding Security.


Different ways to style the CSS document
read more

Tidak ada komentar:

Posting Komentar