What is HTML?
HTML (HyperText Mark-up Language) is Hypertext Mark-up Language (an application under Standard Universal Mark-up Language) or Hypertext Link Mark-up Language. It is currently the most widely used language on the Internet and is also The main language that makes up web documents. HTML files are descriptive texts composed of HTML commands. HTML commands can describe text, graphics, animations, sounds, tables, links, etc. The structure of an HTML file includes two parts: Head and Body. The header describes the information required by the browser, and the body contains the specific content to be explained.
HTML files are files that can be read by a variety of web browsers to generate web pages that convey various types of information. In essence, the Internet is a collection of transmission protocols and various types of documents, of which HTML files are just one. These HTML files are stored on server hard drives distributed around the world. Through the transmission protocol, users can remotely obtain the information and information conveyed by these files.
Web browsers, such as Netscape Navigator or Microsoft Internet explorer, can interpret HTML files to display web pages. This is the main function of a web browser. When you use a browser to browse web pages on the Internet, the browser software automatically converts HTML files into web pages.
Simply put: HTML is a computer language used to create static web pages
What is CSS?
CSS is a computer language used to express document styles such as HTML (an application of Standard Generalized Markup Language) or XML (a subset of Standard Generalized Markup Language). The latest version of CSS is CSS3, which is a style design language that can truly separate web page performance and content.
Compared with the performance of traditional HTML, CSS can perform pixel-level precise control over the position and layout of objects in web pages, supports almost all font size styles, and has the ability to edit web page objects and model styles. , and can carry out preliminary interaction design. It is currently the best performance design language based on text display.
CSS can simplify or optimize the writing method according to the understanding ability of different users. It has strong readability for all types of people.
Simply put: CSS is used to change the appearance of html tags in the browser.
The above is the detailed content of What languages are HTML and CSS?. For more information, please follow other related articles on the PHP Chinese website!