Basic Guide for HTML, CSS, PHP
What are basic HTML, CSS, PHP and what are there uses:
In this article you will learn what HTML, CSS, PHP are and what are your use for you. This is basically a guide for beginners who are interested in learning about HTML, CSS or PHP and want to start learning them. Let us learn it with Php training in Chandigarh. What are your uses for
- Static Vs Dynamic Websites
HTML pages are the building blocks HTML elements. As if you see an image in any web page, the <img> element is used behind it, which is basically called Image Tag in HTML. <P> tag is used for such a basic paragraph. Similarly there are many tags that are used to create the entire webpage. If you have a blog or website that is made on WordPress, then you might not have ever needed to use these tags or coding in HTML yet. This is because WordPress, such as CMS has been built in a way that is useful for non-techy people. But in reality, WordPress also lets people see the input converted by you in HTML. HTML documents have file extensions .html or .htm. But you would say that .html or .htm is not included with all the websites, but they are HTML documents, you will also go about it if you start learning it.
If you did not know anything about HTML before, you might confuse these things right now, but there is no need to worry about you, because now lots of resources are available online about HTML, so that Even beginner can become HTML expert in just a few days.
HTML is basically a standard for Internet, which is the work of W3.org. The rules that they have made are used in HTML based versions as a standard throughout the world. The latest version of HTML is HTML5 now.
2. CSS: CSS is a full-form, Cascading Style Sheets As HTML defines the structure of any web page, CSS is a language that lets you styling any web page. However, with the help of HTML, we can give styling to our web pages but only up to one limit. To make our webpage very good and beautiful, we need to use CSS as well as HTML.
The websites around the world use HTML to define the structure of their webpage and then look good by styling with CSS. CSS is used in three ways, one way is to use the internal CSS by using the <style> tag in the HTML document, another way is to insert inline CSS using the style attribute in any HTML tag or element and the third The way is to create a separate file for CSS and write CSS in it. It is called external CSS stylesheet and it is of extension.css. The advantage of External CSS is that you can apply styling multiple pages at once to multiple HTML pages by implementing the same CSS file.
In CSS you select tags or HTML elements and give them different styles. For example, if you want to change the background color of a paragraph, then select the tag and paste the background color of the CSS into it.
Static Vs Dynamic Websites : Learning Static Vs Dynamic Websites with Php Training in Chandigarh
Before going about PHP, you have to understand the difference between Static and dynamic Websites.
Only the websites created using HTML and CSS will be called static websites, because by using them we create static web pages i.e. the coding we wrote once is fixed and accordingly every time the same thing in the web browser is open it occurs. But there is no need for such websites every time. Often, we need dynamic websites. Dynamic websites are websites that contain content changes according to the user. With WordPress CMS we create dynamic websites only. Dynamic websites often use files from our site as well as a database.
You can understand in static and dynamic fields such that the content of static websites is the same for everyone or they use any type of database. On the other hand, database is used in dynamic websites.
Only HTML and CSS does not help in making a good and secure website. We should have to learn the php. So If you have basic knowledge of HTML, CSS, PHP you can easily make your website design.
Let us move to php. And learn some about Php.
PHP : This is a scripting language. Helps PHP programmer to increase the capability of the Web page. With the help of PHP, you can do many things like create a username and password, create a login page, check details from any form. You can also create Forms, Picture Gallery, Surveys etc. If you come to a web page that ends in PHP, then it is obvious that the programmer has revived the old HTML.
PHP is a Server-sided Language. That is, PHP is a language that can not be executed on our computer. But it is executed on the computer where the Web page is requested. That is, where the page has been revised, PHP is executed on the same. After this the results are displayed in your browser and you reach. There are some more scripting languages that use Programmer. ASP, Python, Peri are just a few more scripting languages. But you do not have to be aware of PHP for these languages.
PHP code is embedded in HTML code. In addition it can also be used in a combination of web template systems, web content management systems and web frameworks. But PHP code is implemented by PHP interpreter. PHP Interpreter powered by Zend Engine is a free software with PHP License. It is also used as a General Purpose Programming Language. You can learn more with us about HTML, PHP, CSS in our next Tutorials with Php training in Chandigarh.