Category: HTML or XHTML

January 31st, 2011 by admin

We can add break line in mailer body as the metion below:
<a href=”mailto:vijay@websilt.com?Subject=Please register me for the Leadership Conclave&body=Name:%0a%0aDesignation:%0a%0aOrganization:%0a%0aE-Mail:%0a%0aPhone No: “>Send this page to a friend</a>

or
Send this page to a friend

Posted in HTML or XHTML

March 13th, 2010 by admin

Today I have created a website in which website pages load without breakage and many more features as like toggle navigation, footer fix, pages come like flash, AJAX based query form, simple menu in jquery, fade in fade out pop up in leadership page. Please visit the url below:

http://websilt.com/images/portfolio-examples/consistent-marketing/index.html

Posted in HTML or XHTML

January 18th, 2010 by admin

Without further argument, let’s review best practices to examine when creating your markup.

1. Always Close Your Tags

2. Declare the Correct DocType

3. Never Use Inline Styles

4. Place all External CSS Files Within the Head Tag

5. Consider Placing Javascript Files at the Bottom

6. Keep Your Tag Names Lowercase

7. Use H1 – H6 Tags

8. Never Use Inline Javascript

9. Bind Navigation with an Unordered List

10. All Images Require “Alt” Attributes

11. Use a CSS Reset

For Instance

  1. html, body, div, span,
  2. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  3. a, abbr, acronym, address, big, cite, code,
  4. img, ins, kbd, q, s, samp,
  5. small, strike, strong,
  6. dl, dt, dd, ol, ul, li,
  7. fieldset, form, label, legend,
  8. table, caption, tbody, tfoot, thead, tr, th, td {
  9. margin: 0;
  10. padding: 0;
  11. border: 0;
  12. outline: 0;
  13. font-size: 100%;
  14. vertical-align: baselinebaseline;
  15. background: transparent;
  16. }
  17. body {
  18. line-height: 1;
  19. }
  20. ol, ul {
  21. list-style: none;
  22. }
  23. blockquote, q {
  24. quotes: none;
  25. }
  26. blockquote:before, blockquote:after,
  27. q:before, q:after {
  28. content: ”;
  29. content: none;
  30. }
  31. table {
  32. border-collapse: collapse;
  33. border-spacing: 0;
  34. }
Posted in HTML or XHTML Tagged with:

January 18th, 2010 by admin

I have listed some common Internet Explorer bugs and solutions. I think this will able to help you condense the times spent on debugging the layout inconsistencies in IE.

Double Margin Bug Fix

If we have floated elements with margin left and/or right assigned, IE6 will double up the margin. For instance, margin-left:5px will become 10px. You can resolve that by adding display:inline to the floated element.

.wrapper {
float:left;
width:250px;
margin-left:10px;
display:inline;  /* fix the double margin error */
}

Posted in HTML or XHTML Tagged with:

January 16th, 2010 by admin

Working with XHTML forms can be somewhat scary; they not only use some place HTML elements, but also blur the line between static content and user interface. Let’s review some stuff to remember when creating your next form.

Good HTML forms require consideration on at least four points:

  1. Semantics
  2. Accessibility
  3. Functionality
  4. Design

Forms can be complicated and sometimes even frustrating for users; often, a form interrupts a user’s main focus and direction on a page: they are plan on purchasing that gifts, or trying out your new web app, not giving you their shipping address or coming up with yet another password. These tips will make forms easier for you as a developer/designer, and them as a user.

Posted in HTML or XHTML Tagged with: ,