Items tagged webdevelopment, html
Filters: webdevelopment × html × Sorted by date
Why can’t I do style=“padding: 20px” and a border in the same div?
You can’t have two style attributes on the same element—but you can have two styles rules inside the same attribute. Try this instead:
[... 48 words]What are the different ways in which web sites can be developed?
There are a few languages that provide an alternative syntax that compiles to HTML (Haml is quite a popular one) but generally you need to have a very good understanding of HTML in order to do any web development at all, no matter what server-side technology you use. Likewise for CSS—Sass and LESS provide alternative syntax that compiles to CSS, but they are no replacement for understanding how CSS actually works.
[... 94 words]What’s the best way to handle logins?
First, make sure you’re storing the password as a salted hash, using a deliberately slow hashing algorithm such as bcrypt, scrypt or PBKDF2—here are some recent articles to get you up to speed:
[... 176 words]What is the difference between XHTML 1.0 strict and transitional?
Not a lot. XHTML transitional lets you use a few presentational attributes and elements that aren’t available in XHTML strict. Here’s a more detailed overview from back in 2005: http://24ways.org/2005/transitio...
[... 59 words]