Skip to main content

learn advanced html Text: Time, Mark, and "Presentational"

Time

time is by far the chocolate ice cream sexiest sweet sugar lovely of these tags and is used to make dates and times super-semantically rich and mmm.
The text sandwiched in the middle of the opening and closing tag can be any format of date of time - the whole precise lot, or just one part, such as a day. It is made more helpful, however, by the datetime attribute, the value of which should be a machine-readable date and/or time.

<p>Written by Doctor Who on <time datetime="2052-11-21">Thursday 21st November 2052</time>.</p>
Valid datetime values can take the format of a year-month-day date (as above), of as a “fuzzy” date, such as “2052-11”, of a time, such as “09:30” (always using a 24-hour clock) or a combination, such as “2052-11-21 09:30”. This can also accommodate time zones and durations.



Mark

Text can be highlighted, as if with a marker pen, using mark:

<blockquote>
    <p>He wants to play with his <mark>Legos</mark></p>
</blockquote>

<p>The person being quoted is clearly American because, for some odd reason, they pluralise "Lego".</p>
Yes, this is a form of emphasis, literally speaking, but it won’t always be considered emphasis in the original meaning (for example, the person being quoted above isn’t emphasizing “Legos”, the commenter is), hence its inclusion.

Redefining the “presentational” tags

One of the slightly more The single mostrevolting “advance” in HTML 5 is its attempt to redefine the archaic presentational tags. Once popular, many moons ago, they just won’t go away no matter how over the hill they are. These tags are also known as “Cliff Richard tags”.
Some of the newly defined blighters are helpful, some are questionable, and some have new definitions crowbarred in that are, to say the least, tenuous.
  • hr, no longer “horizontal rule”, is a thematic break, between paragraphs, for example, like those found in many a chapter of many a book.
  • small, used for small print. Arguably a fair point, “small print” has taken on a meaning beyond “print that is small”.
  • s, no longer “strikethrough”, is for text that is no longer correct (eg, this is <s>presentational, not</s> meaningful). Hmm. OK. Maybe. del still seems fine to most normals, though.
  • u, no longer “underline”, is for text that isunarticulated. It’s also “useless” but bonus point for the abbreviation remaining intact.
  • i, no longer “italic”, is for text in an alternate voice or representing a different quality of text. So, like, differently emphasized, then (see note below).
  • b, no longer “bold”, stands for “text to whichattention is being drawn without conveying importance or suggesting an alternative voice” (and even that’s paraphrasing). b also stands for “bollocks.”
  • sub and sup are still subscript and superscriptand yet, at the same time, they’re somehow not presentational anymore.



Adding more specific meaning is welcome but even when helpful, these tags still aren’t ideal - they’re ugly. Messy. While we’re loving semantics, we’re supposed to be happy with the likes of hr when “H.R.” is a misnomer? Tempered happiness, maybe.
In case you haven’t picked up on the subtleties, we recommend you avoid these tags whenever possible. They serve to pollute and confuse more than clarify and em does the job perfectly more often than not.


Popular posts from this blog

Free tips to save yourself from phishing

Free tips to save yourself from phishing Phishing is a type of social building method utilized by programmers to assemble delicate data, for example, usernames, passwords and Visa points of interest by acting like a trustworty individual/association. Since most online clients are ignorant of the methods utilized as a part of completing a phishing assault, they regularly fall exploited people

Free internet browser download :internet explorer

Internet explorer full free downloads Internet explorer 11.0.11 full free download Internet explorer 10.0 full free download Internet explorer 9.0 full free download internet ex plorer lastest version download these are the lastest version of internet explorer...if you want anything else then let me by sending me comment i will try my best to give that...............

tricks to Hack an Email using Hardware Keylogger

tricks to Hack an Email using Hardware Keylogger Equipment Keyloggers are utilized for keystroke logging, a system for catching and recording machine client keystrokes. They connect to between a machine console and a machine and log all console action to an inward memory. They are intended to work with PS/2 consoles, and all the more as of late with USB consoles. An equipment keylogger seems just as a USB pendrive (thumb drive) or some other machine fringe so that the victimized people can never