Saturday, July 26, 2014
Wednesday, April 9, 2014
by
Sekhar Reddy
on
1:28 PM
No comments
HTML elements and attributes are case-insensitive but the some attribute values are case-sensitive.
by
Sekhar Reddy
on
11:37 AM
No comments
Recently when I started digging into HTML I have observed the elements are placing themselves in the browser some horizontally and some vertically. As I came from Flex background the behavior is very confusing to me as in Flex the position of the elements is based on the container or absolute positioning using (x,y) coordinates. So the major question come into my mind is how the HTML position and size its elements?
Here is what I found:
HTML has two types of elements: Block Level and Inline
Block Level Elements place its contents vertically while Inline Elements place in horizontally.
More info these elements
https://developer.mozilla.org/en-US/docs/HTML/Block-level_elements
https://developer.mozilla.org/en-US/docs/HTML/Inline_elements
Subscribe to:
Posts
(
Atom
)