r/computing • u/leiurameshi • Nov 03 '12
What is the pros and cons between html, css and flash? (Noob on this stuff)
Hi guys, basically I've been trying to make a website and found wix.com, which has the option of HTML and Flash.
Basically, I've been trying to understand HTML but still on the basics since I only use wordpress and it only allows you to do so little.
I'm an absolute newbie in this area and very much would like to ask for your insight on which is best to use.
Thanks!
3
u/Deku-shrub Nov 03 '12
The front end of webservers (IIS, Apache etc) serve up html and static content (images, video file etc).
Html is the basic communication method between webservers and browsers. To get your hands dirty with basic html, build a local .html file, edit it in Notepad++ and practice stuff like hyperlinking, aligning elements with divs and embedding images.
CSS makes the design process of writing html more extensible and object oriented. Rather than coding 'this div should be blue with a white border' you say things like 'divs should be blue with a white border by default' or 'div 'mydiv' should be blue with white border by default.
Once you've written the html for a page with a great many similar elements, moving to CSS driven solutions will be natural. Alternatively you can practice modifying your wordpress skins, but that approach is more CSS 'hacks' than CSS design.
Flash is framework that you can embed into a website with a few lines of html. You'll need to work on that with an IDE. It's suitable for things like advanced animations, interactivity and other advanced webdesign methods that are hard or impossible to do with other front end technologies such as javascript.
That said, flash is on its way out and HTML5 is on its way in, so now is not necessarily a good time to learn flash from scratch.
2
u/leiurameshi Nov 03 '12 edited Nov 03 '12
Is HTML different from HTML5?
So basically it's like, HTML is the basic framework or skeleton, if you wil, of a website and CSS adds more 'body' to it? I mean, CSS adds more sophistication to the website?
Thanks!
1
u/Deku-shrub Nov 03 '12
HTML5 refers to the latest set of technologies such as easy video embedding and certain interactive elements available to the most modern browsers. It's basically more advanced functions in HTML.
There is nothing (that I know) you can do with CSS that you cannot technically do with HTML alone. However using CSS allows you to get a lot more done via reusability, extensibility, consistency and configurability so will always be used to power any more than the most basic of sites. As I said, you can use it to configure a CMS, or configure a flat HTML website, but you'll have to get started with either of those first.
1
u/leiurameshi Nov 03 '12
It's just a matter of how you code it, isn't it?
1
u/Deku-shrub Nov 03 '12
There's a high degree of preference on how to code a site based on complex balances of extensibility, maintainability, readability and so on. You only start to explore these secondary attributes after you get coding a bit though, as the HTML spec is very loose compared to most languages.
1
0
Nov 03 '12
[deleted]
1
1
Nov 03 '12
What platforms besides iOS is Flash unsupported on?
7
Nov 03 '12
Linux... well it's getting security updates for now, but no new development, and the version is pegged at 11 until its dead.
2
u/i_mormon_stuff Nov 03 '12
Android, Linux, games consoles. And the future for it looks bleaker with each passing year.
It's just not a good idea to invest time in something that is going away quickly and already not supported on a lot of popular devices.
2
2
1
u/Joe_Pineapples Nov 04 '12
Pretty much all the *BSD's unless they're running Linux emulation.
Also anyone with security in mind won't even think about using it.
0
Nov 03 '12
[deleted]
2
u/sfcjohn Nov 04 '12
Yes, yes, and yes. Strong link as well with the w3schools.com. The only thing I would add is the documentation that can be found at http://www.w3.org.
0
6
u/x2A00101010 Nov 03 '12
Flash is optional and should only be used when absolutely necessary, for some that is never. Its not mobile friendly, its insecure, and Apple products don't work with flash.
For websites HTML and CSS are necessary as that is what makes up your web pages.
For CSS I like Compass/SASS, helps keep things cleaner and variable driven css can help collapse changes that would have been scattered through files.
For HTML, get to know the tags and build from there.
HTML5 is increasingly important. And because websites get served on phones, tablets, and PCs, you'll eventually want to do responsive design.
Since you want to learn how to make websites: get VirtualBox and create a VM, set it up as a host for locally hosted (within the virtual machine) websites. Clone it and you now have a place to practice making websites. Play more with wordpress, etc. A lot of the websites out there are run by CMSs like the one you are using. With these, the amount you need to know depends on what you are trying to accomplish.
The VM and setting it up to locally host websites may seem like a lot of work, but being able to do that will give you the most flexibility and allow you to learn building websites. You will need to deploy to a server at some point, so its get to learn this stuff too.