Proposed POP attribute in HTML5

The innovators at Oozle Media are always striving to meet our clients needs to the best of our abilities with the tools available to us. Although modern internet technology is an ever-changing technological wonder, it doesn’t always keep pace with market and client demands. Fortunately, the upcoming HTML5 language will help facilitate that. To help ensure that Oozle can continue to provide only the best and most exciting websites to our clients, we are working with the World Wide Web Consortium and Google to include a new attribute for text-based elements.

In short, we would like to introduce you now to a brand new, incredible way to make your website POP.

Purpose of the POP Attribute

The POP attribute to be implemented in HTML 5 would facilitate the visibility of textual HTML elements within a document.

This attribute becomes especially useful in a development environment when a client requests changes to their website in the post-design and development phase. This attribute can be applied after the rest of the website has been constructed and completed to spec in instances where the client then wants an element to “pop”, but does not want to pay for a redesign. The POP attribute can then be applied quickly and easily with minimal effort and time on the part of the developer.

This attribute is currently only supported in IE 6 and earlier.

Syntax and Usage

This will be an enumerated attribute with several preset values that will be utilized to make the text element in question “pop” from the document and stand out from the HTML elements around it. The attribute can be applied to any given HTML element but will only affect the text within the element.

Sample Usage:

Call Now!! 1-888-888-8888

The above example will apply the “blink” effect to the text within the <p> element. Applying the attribute to a container such as <div> or <header> will add the effect to all text within the container. It is also possible to add more than one state to the attribute, producing multiple effects at the same time.

Call Now!! 1-888-888-8888

The above code will apply both the blink and the shadowed states to the text within the above div element, but the image will remain unaffected.

Keywords and States

The blink keyword, which maps to the blink state.

This causes the element to flash intermittently. Blink currently exists as a CSS styling attribute; however, it has been under-performing in Web 2.0 and is semantically incorrect as part of CSS. Therefore ideally it will be deprecated in CSS and instituted as part of the new POP attribute.

The shadowed keyword, which maps to the shadowed state.

The element will have a large drop shadow and stand out from surrounding elements. Similar in concept to the famous “Hollywood” sign in California, this should immediately draw the user’s attention.

The ginormous keyword, which maps to the ginormous state.

Causes the element font size to increase approximately 200% of its original size while not affecting surrounding text, making it far more noticeable to viewer.

The neon keyword, which maps to the neon state.

Causes the element to flash like a neon sign on the side of the information superhighway. POP currently only supports green neon lighting for optimal visibility.

The 3D keyword, which maps to the 3D state.

Puts the element into 3D so that, with the proper monitor and/or viewing glasses, the element becomes three dimensional and literally pops from the page.

The pinwheel keyword, which maps to the pinwheel state.

Causes each individual character in the text to rotate in a clockwise direction. Gives a dynamic feel to the element and puts the action in “call-to-action.” This forces the viewer to spend more time focusing on the element in an attempt to read and understand it, thereby leaving your call-to-action firmly burned into their psyche.

The alert keyword, which maps to the alert state.

Places the textual content into a JavaScript alert. If the content is too lengthy to fit into a 250x125px element, the text will then overflow into as many alerts in succession as it takes to complete the content. Ensures user will definitely and unavoidably see the “popped” content.

The fold keyword, which maps to the fold state.

Causes the text in the element to be placed “above the fold”, IE above the bottom of the user’s window. To be used when client requests that an element always be “above the fold” despite neither space for it nor specifics on where “the fold” actually is.

Demos

To truly visualize what making an element pop can really do for you, please view the examples below.

Blink

Shadowed

Ginormous

Neon

3D

Pinwheel

Alert

Fold

Clients frequently like to see certain elements placed “above the fold”, a term that refers to newspapers and similar print media that are folded in half, leaving only the upper half immediately visible to the user. In web development, this can be very difficult, since things like the header, navigation, slideshows and other such superfluous elements may inconveniently push things like a contact form and the content down.

Above the Fold - Before

Above the Fold - Before

But after applying the “fold” attribute to an HTML element, it’s pulled upwards towards the top of the page, automatically laying over whatever other elements might be present. Now your content is placed “above the fold” so they will be visible to users without unnecessary scrolling. And who wants to have to scroll down on a website? Not your client!

Above the Fold - After

Above the Fold - After

 

Blink + Shadow

Please be aware that, as per the example above, you are able to combine elements into an element to make it really, really pop. However, combining all enumerated elements of the POP attribute is not recommended, as this could cause the element to literally pop out of the screen and punch the viewer in the face.

Oozle Media Oozle Media Apr 01 2012

Comments are closed.