Creating website

I am looking for a little advice on building a website. It’s not going to be used in any real way, by that I mean it is just a project I’m undertaking for my own benefit. I want to learn the process and hopefully acquire some useful knowledge along the way. So my main questions are:

  1. Should I use HTML,CSS, or some language like Java or a mixture these or others.
    2.Any good websites or books with good info.

Any help would be appreciated, thanks

There is no shortage of books available. In my opinion, start simple. Avoid the so called automated web creation tools, they put WAY too much garbage in the code. Learn the hard way. You can create a web site using only gedit or kedit. Pay attention to file sizes, some people are still on dial-up connections. After you create it with pure HTML, add CSS. Then Java script. Your problem will most likely be figuring out what you want to show, not showing it.

Make sure it stays fun though. It’ll take some patience, but it should not be a chore.

Next, listen to what the next people have to say. They probably know much more about this than I.

Enjoy,
Bart

Welcome to the opensuse forums. If you are starting out, you should try to learn HTML5 because this solves most of the incompatibility problems you would encounter with other versions. It also recognises and uses CSS properly. The specification is in www.whatwg.org/specs/web-apps/current-work/html5-a4.pdf

Don’t use Java but, when you have got beyond the basics, you may find a need for Javascript (which is different).

Beware that many older texts on HTML may recommend things which are now deprecated in HTML5.

And depending on what you want to show in the website, after a while you might want to know more avout a database behind it (using MySQL) and a language creating HTML webpages from MySQL data on the server: PHP.

Together they are know as Linux, Apache, MySQL, PHP or LAMP and YaST > Software > Software management and then chooosing the Pattern View, yoou can finfd under Server functions: Web and LAMP server and thus install all needed software by selecting it.

Thanks for the help everyone, it is much appreciated.

Is html5 at a point where we can use it in a current web page, declare the page to be “5”, and the browsers will recognise/honour it?

To get the real feeling write some HTML/CSS pages with an editor (pick any editor with syntax highlighting; I use ‘joe’) and verify your results with ‘weblint’.

Start off with HTML. I usually code in vi because that is what I am used to and it has syntax highlighting but quite a few editors have syntax highlighting now

I would think so.

HTML5 Gallery | A showcase of sites using HTML5 markup

What little testing I’ve done here seems to work well in FF 3.6.10 and 4.0b6,SM 2.0.8 and 2.1a1pre, Chromium and Opera.

<!DOCTYPE html> declares standards mode in HTML5; only in rare cases should it be necessary to use anything else; see §10.1.1 in documentation referred to earlier.

Thank you guys

Start with HTML and CSS, as that is the backbone of web pages.
For programmability look at Javascript and/or PHP. There is a lot of material on them that will be relevant for a while and since you are doing this for personal enjoyment I wouldn’t go crazy for HTML5.

Once you get a good feel, then see if you are interested in something like Java (J2EE) and/or AJAX.

You could have fun with Quanta or Kompozer to get comfortable and be able to design in WYSIWYG and then look at the code, or type the code and quickly see if it is how you are trying to make it look. Amaya, which I don’t think is in the repositories, is also pretty good for HTML and CSS.

I use NetBeans for PHP but that may be a bit overkill (is code-only) for learning.

Can always get a “sneak peek” at w3schools.

Hello ktlive,

I haven’t got much experience with web-development.
But I agree with the others: start simple.

When you understand the basics, done some experimenting.
Then I would look at something more complex.
PHP for example.

I agree with dragonbite, HTML5 isn’t far enough.
The problem when writing HTML5 is that some syntax can change, not all browser support HTML5 etc.
Most of the browers rafter22 tested are new versions (and IE isn’t included!).

I don’t want to discourage you in testing HTML5, I do this from time to time myself.

Good luck!:wink:

give wordpress a try, they offer hosting and domains for cheap plus custom CSS!

Great information! thx

The current HTML5 specification is unlikely to change; there will be additions but no changes in the current specification. Most browsers (including IE6) can be made to support HTML5 by the addition of some simple Javascript and IE9 does support it.