Showing posts with label font. Show all posts
Showing posts with label font. Show all posts

Manage web pages and text

In organizing a web page we should pay attention to the composition of heading, set the background color, select the font type, font size appropriate from h1-h6, alignment, line-height or line spacing and so forth.

Actually it needs to know to bloggers to understand one of them is improvement in the CSS. For readability, it suggests the em unit.

Well .. if we notice in provision of units sometimes vary in the existing templates that provide px, em, pt and percentage (%).

CSS Shaded Text

Shaded Text Effect with CSS
You can create your own shaded text effects. Make a script like the following:

PHP String Manipulation 1


PHP STRING MANIPULATION part 1

In PHP there are some functions that can be used to manipulate strings for example, to replace certain characters, remove spaces, and others. The following are the functions that are used in PHP to manipulate strings.

CSS Font Properties


Font Properties
CSS font properties are used to set fonts used in a website. For example, to set font type, font size, weight and font style.

font-family  

Value:
name of the font
Font-family property is used to make the font type to be displayed on the screen. The default is what used browsers, namely Times New Roman. If you want to change to Arial type the following code:
<DIV Style="font-family:Arial"> The font is Arial for this section. </ DIV>

HTML Font


To arrange the letters in HTML tags you can use <FONT> and closing </ FONT>. This tag has several attributes to set the formatting style of a text.
         
Font Size
Size = n is the attribute that is used to adjust the font size. N value ranges between 0 (smallest size) up to the largest 7. The following example will display the text in various sizes as shown below.