Sunday, July 10, 2011

. . :What Makes Them Differ?: . .

Many are confused on what is the difference between Inline and Block Elements. Also the
difference between HTML and XHTML. What makes them differ? Well, let me share you about what
I’ve learned on our Computer teacher, Sir Ernanie Manalac.

Inline Elements are elements that are found in the text of the HTML document. They are also
sometimes called as text level elements. It is generally contain text, data, or other inline elements. They are usually “smaller” than bock-level elements. It do not generally begin new lines of text. It inherits directionality information differently from block-level elements.

Now, let’s talk about Block Elements. It is an element that creates large blocks of content like paragraphs or page divisions. They start new lines of text when you use them. It can contain other blocks as well as inline elements and text or data.

Well, let us talk about HTML and XHTML. Always remember that they are both mark-up
languages. They are the root of all websites we see on the internet or on the artistic Websites of our favourite personalities. The main question is, what makes them differ?

HTML means Hypertext Markup Language. It is an application of SGML (Standard Generalized
Mark-up Language and allows an author to omit certain tags and use attribute minimization. XHTML
or the Extensible Hypertext Mark-up Language is an application of XML(Extensible Mark-up Language). It doesn’t permit the omission of any tags or the use of attribute minimization unlike HTML. So for me, HTML is easier to use than XHTML.

I’ve also learned the 3 Components , the Content, Behaviour, and the Presentation and what
makes them differ. First, is the Content. It refers to the text, images and multimedia components of web pages. It applies the use of HTML. Second, is the Behaviour. It refers to the interaction of the viewers and the doer. It refers mainly to JavaScript and Ajax. This page concentrates on the semantics and structure. The third one is the Presentation. HTML should never be used for presentation. Use of the font tag and many other HTML4 elements are now deprecated in favour of their more semantic replacements. It refers to the whole appearance of your webpage. In order to style web page presentation, you should use CSS, preferably in an external style sheet.

Hope you’ve learned another lesson. Thanks for visiting. Please follow me for more updates.
Thank you!!

No comments:

Post a Comment