Wednesday, September 18, 2013

HTML-Div Tag

The
Tag

The
container (DIV stands for division) can be used to enclose and define the alignment for an entire block of page elements. It supports the ALIGN attribute, so you could use it to align a block of text and graphics to CENTER, as in this example:


This header is centered.



So are the images above and this line of text.
But this text is right-aligned.


Note that all the elements between the
and
tags are aligned according to the definition given by the
tag, except for any elements which have their own alignments defined. As is always the case with the ALIGN attribute, it can assume the values LEFT, CENTER, or RIGHT.


You can also use inline styles with the
tag to set the style for an entire block of HTML within your document. This works because of the concept of inheritance. For example, if you want to change the text color of an entire block of tags to blue, you can put those tags in the DIV container and define a style for the
tag that sets the text color to blue. It looks like this:



This is a heading


This is a paragraph. It will look blue in the user's browser


Upload UIImage as base64 String

Upload UIImage as Base64 String (Upload UIImage as string) //Select Pic From Camera or Gallery       @objc func btnPro...