Home >Backend Development >PHP Problem >What foundation does php need?
Because PHP is currently mainly used for network applications, that is, websites, etc.;So before learning PHP, it is best to systematically master the specific usage of HTML and CSS.
They are the face of your web page and the part closest to the user, so you still need to have the necessary understanding of.
You don’t need to be very proficient at the beginning. Keep exposed to them during your PHP learning process, and then consolidate and expand them. (Recommended learning: PHP programming from entry to proficiency)
Others including databases, data structures, JavaScript, etc. can be gradually exposed after you start learning PHP.
Hyper Text Markup Language (Hyper Text Markup Language), an application under the standard universal markup language.
HTML is not a programming language, but a markup language, which is necessary for web page production. "Hypertext" means that the page can contain pictures, links, and even non-text elements such as music and programs.
The structure of Hypertext Markup Language (or Hypertext Tag Language) includes a "head" part and a "body" part. The "head" part provides information about the web page, and the "body" part provides the specific content of the web page. .
Hypertext markup language document production is not very complicated, but it is powerful and supports the embedding of files in different data formats. This is also one of the reasons for the popularity of the World Wide Web (WWW). Its main features are as follows:
Simplicity: Hypertext Markup Language version upgrade adopts superset method, making it more flexible and convenient.
Extensibility: The wide application of hypertext markup language has brought about requirements for enhanced functions and added identifiers. Hypertext markup language adopts the method of subclass elements to ensure system expansion.
Platform independence: Although personal computers are popular, there are many people using other machines such as MAC. Hypertext Markup Language can be used on a wide range of platforms, which is another reason for the popularity of the World Wide Web (WWW).
Versatility: In addition, HTML is the universal language of the Internet, a simple and universal all-purpose markup language. It allows web page producers to create complex pages that combine text and images, and these pages can be viewed by anyone else on the Internet, regardless of the type of computer or browser used.
Cascading Style Sheets (English full name: Cascading Style Sheets) is an application used to express HTML (an application of Standard Generalized Markup Language) or XML (a subset of Standard Generalized Markup Language) ) and other file-style computer languages. CSS can not only statically modify web pages, but can also cooperate with various scripting languages to dynamically format various elements of web pages.
CSS can perform pixel-level precise control over the layout of element positions in web pages, supports almost all font size styles, and has the ability to edit web page objects and model styles.
CSS provides a style description for the HTML markup language, defining how elements in it are displayed. CSS is a breakthrough in the field of web design. It can be used to modify a small style to update all page elements related to it.
The above is the detailed content of What foundation does php need?. For more information, please follow other related articles on the PHP Chinese website!