Fake HTML is Always Semantic

Geek Mom recently published a post by Sarah Pinault called Using HTML in Your Daily Life: The Rise of Fake Code. In this interesting essay, Sarah discussed the use of fake HTML tags in everyday communication. She cites examples like <rant></rant> and <giggle></giggle>.

Sarah provided examples of using fake HTML in clever conversations like this:

Me:<rant>Everyone is using my stuff!!!</rant>

The Husband: The beauty of the rant tag is you don’t need the ‘!!!’ <rant>Everyone is using my stuff.</rant> It adds context.

Me: Wait, are you dissing my use of fake HTML?

The Husband: No, no, no… The point is that the tag takes a totally innocuous statement, i.e., “Everyone is using my stuff” and makes it so you read it with the intended ‘rant-voice’ in your head.

Me: <LOVE>You are an interesting fellow.</LOVE> <worry>Wait. Does that end the love.</worry>

The Husband: <romantic>Our Love will never end.</romantic> <giggle>Tee-Hee</giggle>

Fake HTML is Semantic

end hate
End Hate by Marlith via Flickr

It hit me in looking at Sarah’s fake HTML, or in examining the fake HTML in the plea to end hate shown in the image. When people make up fake HTML, it’s semantic. Without even thinking about it, they make up a tag that expresses the semantic meaning of exactly what they are trying to say. Without thinking about semantics at all.

As readers and speakers, we grasp the semantics of words and how the semantic underpinnings of language affect what we mean when we talk and write. And we can apply that with ease to our fake HTML.

What I’d like to have you think about today is the semantics of real HTML. HTML is a semantic markup language. Using it semantically helps your readers make sense of your content.

But here’s the problem. Many people are using tools that encourage them NOT to think about semantics. The tools confuse and befuddle and we end up doing the exact opposite of what we would do naturally and without effort if we understood the tools just a little better. Instead of creating semantic HTML, we create a semantic nightmare. Here are some tips to help you understand (and be the master of) the tools you use to blog.

Do you use WordPress? Then you are familiar with this set of tools:

WP tools

Most blogs and HTML editors have a similar set of tools. First, I want to talk about the icons that say B, I, and show quotation marks. These tools in your formatting toolbar carry particular semantic meaning.

Bold and Strong

When you use the B icon, you see your words made bold. But the semantic HTML tag that is creating that bold effect is really a <strong> tag. The semantic meaning of <strong> is strong emphasis. While you may want your words to be bold just for presentational reasons, you are giving your words the added semantic meaning of strong emphasis. You need to think about whether you want those words to look bold just because you like they way it looks, or whether you want to give the words strong emphasis.

If you want strong emphasis, use the B icon to create a <strong> tag. If you want bold just for looks, take a side trip into the HTML tab or view of your post and add the bold tag by hand. That’s right, hand coding. The tag for bold is <b>, which you close with </b>.

bold tags

Bold Isn’t the Same as a Heading

Headings (h1–h6) are bold. Automatically. Headings have a semantic meaning, too. They are headings. I know that sounds silly, but they are meant to be a section heading or title. Using a bolded (or strong) paragraph to create something that looks like a heading doesn’t provide the same semantics. The bold (or strong) words are strongly emphasized but are not headings – and that may cause navigation problems to people who use devices that can navigate by jumping from heading to heading. It’s easy to make something a real heading when you mean for it to be one. In WordPress, use the pulldown menu next to the word ‘paragraph’ in the toolbar to find the proper heading.

Italic and Emphasis (And Don’t Forget Cite)

Next is the I icon. when you use it to format words, they appear as italic. But the tag that is created is an <em> tag, which stands for emphasis. The <em> tag has semantic meaning. It gives words emphasis.

What to do about the I icon? Us it when you want emphasis. The icon says I, but it writes an <em> tag. Us <em> like this: <em>Don’t drink Mercury!</em>

If you want italics for effect or for looks, pop over into the HTML pane and hand enter the <i></i> tag to make your words italic. There are two caveats with italic text. First, in HTML4 and XHTML, the <i> tag had no semantic meaning at all. It was simply decorative text. Starting in HTML5, the <i> tag now means the words can be in a foreign language or can be a title. Bottom line, in HTML5, <i> does have semantic meaning.

Then there’s <cite></cite>, which means a citation. It displays in italics, but it is a citation of a title of a book or movie or web site name. Use it like this: <cite>Geek Mom</cite> recently published a post . . . Yes, you have to jump into the HTML pane and hand code it.

The Blockquote

The toolbar icon with the opening quotation marks creates a blockquote. You may be using this one properly already. The semantic meaning of <blockquote> is that you’re quoting a bit of something from someone elsewhere – perhaps a web site or a book.

Here’s the problem. When you format something as a blockquote, it displays in the browser indented slightly on both sides. So some people use the <blockquote> tag to indent things. In other words, to achieve a visual effect that has nothing to do with the semantics of the tag. This can be confusing to your users if they are browsing using devices that announce something as a blockquote. They expect a quote. If you’re just doing it for looks, you’re semantically confusing. You don’t want to be semantically confusing. No, indeed. Clarity in communication comes from precise semantics.

How should you indent if you can’t do it with a blockquote? The easiest way is to had a few pixels of margin-left in the style sheet to whatever you want to indent on your page. In the style sheet, create a class, perhaps call it indent, add a margin-left rule, and apply the class to anything that you wanted to move over a bit. No semantic miscommunication, and nice appearance.

Paragraphs

One more problem I see frequently in posts involves paragraphs. Apparently, some blogs use two line break tags to create what looks like a paragraph. A line break is created with a <br> tag. (Sometimes it’s written <br />, but <br> and <br /> are the same thing.) If you string two break tags together like this <br><br>, you get a blank line and what looks like the start of a new paragraph.

Paragraphs are semantic blocks of meaning. Each paragraph has one main idea! (Remember THAT English teacher? The one who nagged you about the main idea of a paragraph. I do.) The tag for a paragraph is <p></p>. If you want to start a new paragraph you close the previous one and begin a new one. New paragraph, new main idea. Nice and semantic.

Line breaks just mean the next word starts on a new line. It doesn’t imply anything semantic. You might use line breaks to move down a line in a set of ingredients for a recipe or to move down a line for the next words in a poem. Using breaks to create paragraphs doesn’t make real paragraphs – it just makes something that looks like a paragraph to a reader who is looking at your page (and not all users are looking at your page.)

If you discover that your particular blogging platform is using <br><br> to create paragraphs see if you can find a way to change it. Or use the “paragraph” formatting tool in your toolbar to make it a paragraph.

paragraph tool

You never know what kind of browser or device your readers are using to get the content of your web page. The more semantic you can keep your real HTML, the better all your readers will be able to understand the exact meaning of your message.

Editors Note: Cross posted at BlogHer.

Useful links: 5 second test, game design, WHATWG & W3C split

five second test is an interesting new that helps with wireframing and optimizing a site. As questions about your design or mockup and they are answered by real testers.

Computer game design: what I know now. Here’s a dose of reality for the folks who think it’s easy to design a game.

HTML5 Work Splits into Living and Snapshot Standards. The WHATWG and W3C are ‘splitting.’ You can read several more stories about this at HTML5 News.

Women in Tech: Can You Help Find a Few Good Men, Part II

Earlier this week, I posted Women in Tech: Can You Help Find a Few Good Men? In that post, I suggested that perhaps we should offer praise to the men and events in tech that treat women as equals and with respect instead of pointing the finger of blame at the men and events in tech who treat women as unworthy or only for sexual objectification or exploitation.

I offered to start a new site and manage it once it was running to keep track of the outpouring of praise that I envisioned. After all, I knew it could be done because I could offer names and events where women were given equal opportunity to be tech stars.

Well. Days have passed. And there’s been no outpouring of praise or offers to submit praise. One commenter here, Ashe Dryden, said she’d be willing to pass along stories from her conference travels. One Twitter friend, @cdharrison, said he knew a praiseworthy tech dude and would be willing to write about him. That’s the grand total of people who are willing to praise the men and events in tech. 

Okay, I exaggerated with that last sentence. I’m sure there are more than two people who could find something good to say about something or someone. But I didn’t hear from them. That convinces me that a new site dedicated to pointing out the good guys and the women-friendly events isn’t feasible.

Here’s what I suggest as an alternative. I create a category here on this blog called something like “Good Guys in Tech” (feel free to offer a better category name). If someone sends me a paragraph or two, tweets me an image from an event, or in some way lets me know about the dude or the happening that is worth praise, I’ll post it here and put it in that blog category.

Could I have some feedback on this, please? Will there be participation?

Useful Links: Brodigan, 7 Tips, Self-Hosted WordPress (Infographic),

Chrissie Brodigan’s Blog is about UX and excellent. Take a look.

Feel in need of a good giggle? Check out Laura Scott’s inspired post 7 Essential Elements to Create Amazing Top 7 Lists.

Nice infographic about WordPress, with a bit a advertising for the source – Copyblogger – thrown in. The Copyblogger steps aren’t essential to the process, helpful as that website can be to a blogger.

A Step-by-Step Guide to Creating Your Self-Hosted WordPress Website
Like this infographic? Get more WordPress and hosting tips from Synthesis.

How to Replenish Your Creativity Juice

It is the most feared condition for all those engaged in the creative arts. In the daily grind of life, there comes a point when all ideas seem to have been extinguished, and any momentum seems to have ground to a halt. It’s the condition most commonly known as writer’s block. And despite its name, it doesn’t just strike writers.

Graphic designers create all sorts of material all day for clients—images, logos, and other marketing outputs. It is a job that taps strongly into a person’s ability to be creative with pictures and art. At first, the ideas come easily—at times, there’s too much of them to handle! But imagination has its limits, and after pushing it so hard in order to come up with the perfect output, burnout can set in. This ends up killing the designer’s initial enthusiasm and drive for his work, and results in feelings of frustration and stress.

creative_juiceBut writer’s block doesn’t have to cripple you. Here are 8 ways to combat it, and get your creative juices flowing again.

  1. Have a break. Focusing too hard on your task when it just isn’t happening can exacerbate the block. Sometimes, the best thing you can do is let it go for a while. Do something mindless. Surf the Net, check Facebook and Twitter, or call a friend to chat. Doing activities that take your mind off work can help to refresh your thoughts, and when you return to the task at hand, you’ll feel more energetic.
  2. Watch TV. It screams “lazy!” to many, but not to the mind. TV is a product of creativity, and is a hotbed of material that can stimulate your thinking. Channel surf, and try to watch different kinds of shows. And watch TV on the TV—don’t rely on the downloaded episodes of your favorite sitcoms on the computer. Widen your scope and look for something new to get interested in—that could be the spark you’re looking for.
  3. Read books. Grab a book (an actual book, mind you!), curl up with a cup of tea or coffee, and dive in. Reading can be a great creative exercise—it keeps your mind active by creating mental pictures of what you’re reading. By seeing how the author expressed his or her thoughts, you can be inspired to come up with your own expressions.
  4. Maintain an active lifestyle. Mentally down? Get up and get out. An active lifestyle can stimulate the flow of blood to the brain, giving your mind a boost. You can go to the gym, jog, play sports, or even do something as simple as taking a walk. The important thing is to get moving. Once you’re pumped up, the creative juices will flow much more strongly.
  5. See some new sights. Looking at the same four walls every day can be a reason why you’re all stopped up. So step away from your desk and change your surroundings. Go somewhere where you can get lost in nature. Travel to another country, or another province. Venture outdoors, rather than staying indoors, and bring your materials with you. Oftentimes, a change of scenery is just what you need to get you out of your rut.
  6. Listen to music. There’s a reason why Baby Mozart sells. Many parents want their kids to be exposed to beautiful music even while in the womb so that they’ll be born smarter. You may not be a baby anymore, but it doesn’t mean that music can’t still work its magic on you. Music is universally acknowledged as one of the best sources of creativity and inspiration. Personally, I work best when I’ve got my headphones in—I find that the melodies of my favorite songs can perk me up. A great way to harness the power of music is to identify the songs that you think best get you in the mood to design, and create an inspirational playlist. If you don’t like to be distracted by lyrics, you can always opt for classical or instrumental music instead. The key is to discover the right mix for you.
  7. Have fun with it. One of the ways in which creative work can feel stifling is by being “work”. It’s different when you’re designing as a hobby—there’s no pressure to be perfect because no one’s watching and you’re not looking for anyone’s approval. Design something for fun when you’re feeling stuck. It can be something as simple as creating a Spiderman cover photo for your Facebook timeline, or redoing the layout for your personal blog. The purpose is to remember the joy of designing again, and at the same time to keep your skills in constant use so they stay sharp even when your mind isn’t. Once you’ve rediscovered your purpose, sitting down to work will be much easier.
  8. Look for an inspiration. Creative bursts happen anytime, anywhere, any way once you find that spark. Don’t be afraid to search for it in unexpected places. Some find inspiration while sitting on an elephant in Thailand. Others find it in dreams. Still others find it in people. You want to live every day being open to the possibility of having a creative burst. You don’t have to force inspiration—it comes to you in the right time. Learn to recognize it, and capitalize on it.

ArtWhen you’re experiencing writer’s block, always remember that it doesn’t go away on its own—you need to decide to act in order to start moving again. Writer’s block is always rooted in fear and anxiety, and the way to overcome it is by realizing what causes them and dealing with them. As a designer, don’t be afraid to show yourself in your work. Don’t be paralyzed by the fear of making mistakes. You’ll be so surprised by how many great ideas you have, that you’ll forget what writer’s block even means.

Guest author Celina Conner is a Yoga Instructor, an alumna of Marketing Management at Martin College Australia  and a mother of a beautiful daughter, Krizia. She has a passion in cooking and formulating vegan recipes. Follow her adventures on her Twitter.

Women in Tech: Can You Help Find a Few Good Men?

We know the situation is bad for women in tech. See the Timeline of Incidents on the Geek Feminism Wiki, the Tumblr blog Programmers Being Dicks,  Dell Conference Moderator Fails to Amuse Women, and Here’s Hoping. I could go on, but you already know this stuff. Naming names, pointing fingers, and listing offenses are important in raising awareness. But not much is changing.

It occurs to me that perhaps we should be taking the opposite approach. Perhaps we should be finding men and events to praise. Perhaps we should collect stories about conferences and events and men who are doing what we wish ALL conferences and events and men would do.

IMG_3706.jpg

John Allsopp and Maxine Sherrin from Web Directions set the tone as a good example.

Jeffrey Zeldman and Eric Meyer - An Event Apart: Seattle 2010

So do Eric Meyer and Jeffrey Zeldman from An Event Apart and Hugh Forrest from SXSW. There are others I don’t know yet, but there are good stories to be told.

Hugh speaks

I’m not going to conferences these days – no money and no reason to go other than interest. Nobody is paying me for being interested, so I can’t go. That means I can’t be the one bringing home the stories about the conferences, events and men who deserve big praise and recognition.  If I could find a group of women who are actively attending tech conferences and events who would be willing to bring such tales home and tell them, I would serve as organizer and moderator for a blog or site where their stories could be told. 

It doesn’t have to be a huge story. A well-received panel presentation with women panelists. A guy in a bar who sticks up for a woman when some famous tech dude asks her who she slept with to get her job. A set of slides that don’t contain images of tits and asses along with the technical data. An event with a female keynoter. A famous tech dude who helps a woman as a mentor rather than a sexual predator. Keep it simple. Keep the emphasis on who is doing it right and how they are doing it right.

I could use some help in figuring out the best way to set it up, and in designing it to be beautiful. (You don’t have to be a woman to help with that part.) Once it was running I would do all the moderating and upkeep.

If there are enough women who are willing to write about the praiseworthy events and men they discover in their conference travels, we can make this work. As any parent knows, praise teaches better than blame, so let’s stop blaming and start praising. Let’s see if that can create change.

Women, I need to know if you are willing to contribute to this with stories about the good stuff or with technical and design help getting it going. You can leave a comment or you can contact me privately at virginia at vdebolt dot com.

SEE ALSO: Women in Tech: Can You Help Find a Few Good Men, Part II.