Showing posts with label special characters. Show all posts
Showing posts with label special characters. Show all posts

Thursday, 17 January 2013

ASP: special characters

   


ASP

One of things that newbies find difficult when trying to learn ASP is the way code is tructured and what all those special characters are there for.



In this short post we are going to see the most common special characters we can find in an ASP page:
  • &
  • '
  • _
  • :
  • .
  • <% ... %>
  • <%= ... %>
As you will see, some of the above might hide even little secrets and surprises.

Wednesday, 6 June 2012

Web Design: Designers Toolbox

   


Today I will share a very useful web site called Designers Toolbox.
As the name says, on the site there are different interesting tools making the life of a designer easier. Keep in mind that it is not just for web designers, in fact it contains information even for general design.
The list of the tools includes:
-  a lorem ipsum generator;
- web safe areas;
- HTML characters;
- banners sizes and formats;
- how to use fonts for the web.

Add to the above, useful info on envelope sizes, folding methods, paper sizes and so on.
The site is very well done and easy to navigate, with a simple design that will make the visitor curious.

I believe you might find the resource interesting... so have a look and let me know.

Wednesday, 23 March 2011

JavaScript: special characters

   


JavaScript code is full of special characters. When coding, you will end up using a lot of apostrophes, quotes and so on. Let me explain it through a simple example.
<script type="text/javascript">
document.write("John said "Cheers!" while raising a glass of wine.");
</script>
As you may noticed, in the above code we have a series of quotes. The first one is defining the starting point of the string we want to output, while the last one is the ending point. Just to be more clear, the red quotes are the boundaries of the text string, while the green ones should be part of the string itself. If we use the above code, an error will be the result, because the first green quote will be interpreted as the ending of the string. That is as if the string is cut like:
John said
leaving the rest
Cheers!" while raising a glass of wine.
out.
How to deal with that?