Html5 in php hosting?

I am a software development student. I want to configure a site using html5 and css3. I looked at various web hosting options. I want to use the hosting that php and mysql provide so that I can practice them. Will php and mysql hosting provide html5 and css3 support? If yes, will html5 code be inserted into pages that are php extension?

I am very new to this, can someone please help.

Thanks.

+6
source share
5 answers

HTML and CSS versions of ANYONE are just text. Any language that can generate / consume plain text can work with any of them. You can make an entire dynamic website using bash scripts or a compiled C program if you want. PHP just proves to be more efficient at processing text than any of them. But this is not the only thing that can generate the page.

HTML is not "code." This is the markup, the same for CSS.

+10
source

That's right, HTML5 and CSS3 are not processed by your host, they are displayed on the client side, so each host allows you to use them. You can write HTML5 and CSS3 directly to PHP files, and they will appear as if they were HTML files, with the advantage that they can use PHP on these pages.

When buying servers, you buy a place on the company's computers and do not deal with client-side rendering to support your files.

+9
source

CSS3 and HTML5 depend on the browser of the user (your client). It has nothing to do with the server where your page is located.

+5
source

HTML5 and CSS3 are browser technologies, so your hosting provider doesn't matter. Only the browser that has questions about whether these technologies support it.

+4
source

HTML 5 and CSS 3 are really languages โ€‹โ€‹that are processed by a web browser (client side), so server-server (server side) does not display, parse or execute any HTML 5 or CSS 3 code. But other posters already mentioned this.

If you are a new web programmer, I present to you this concept: "graceful degradation." Since you have zero control over which browser your end user uses as a web programmer, itโ€™s useful to plan your snapshots. HTML 5 and CSS 3 are new technologies that have diverse support in various web browsers available to the public. Graceful degradation means that you want to use HTML 5 / CSS 3 technologies and you implement them, but you leave behind methods and tools so that your users can still interact with your site if these technologies are not supported by the browser that they use.

Here are some links to articles that may be useful to you when learning how to make your page / website perform graceful degradation:

Article 1

Article 2

Section 3

Alternatively, there is another idea that also matches this concept, known as "Progressive Improvement." I will just quote the wikipedia entry :

In Progressive Enhancement (PE), the strategy is intentionally canceled: a basic markup document is created that focuses on the least common denominator of browser software functionality, and then the designer adds functionality or improvements to the page presentation and behavior using modern technologies, such as cascading style sheets or JavaScript ( or other advanced technologies such as Flash or Java applets or SVG, etc.). All such improvements are linked externally, which prevents some browsers from loading unnecessary data.

Good luck

N

+1
source

Source: https://habr.com/ru/post/890698/


All Articles