HTML, CSS, and JavaScript

Source: Internet
Author: User
Tags dreamweaver
HTML: hyper text make-up language: hypertext markup language or hypertext link markup language. It is the main language used to create web pages and is the basic architecture of web pages.
CSS: Cascading Style Sheet, referred to as style sheet. it is currently the only webpage page layout style standard. It enables any browser to follow the instructions and understand the layout and format of various elements and content.
Javascript: a scripting language widely supported by browsers. It can be used to develop Internet client applications. Program .
Example: 1. html < Html >
< Head >
< Title > HTML files without CSS or Javascript </ Title >
</ Head >
< Body >
< H2 Align = "Left" > HTML files without CSS or Javascript </ H2 >
< HR >
< P > This is an HTML file that does not use CSS or JavaScript. </ P >
</ Body >
</ Html >

2. CSS CSS
< Html >
< Head >
< Style Type = "Text/CSS" >
<! --
H2 { Font-size : 42px ; Font-family : }
--!>
</ Style >
< Title > HTML files using CSS </ Title >
</ Head >
< Body >
< H2 Align = "Left" > HTML files using CSS </ H2 >
< HR >
< P > This is an HTML file that uses CSS. </ P >
</ Body >
</ Html >

3. Javascript

Javascript
< Html >
< Head >
< Script Language = "JavaScript" >
<! --
Alert ( " This is the role of JavaScript. " );
--!>
</ Script >
< Style Type = "Text/CSS" >
<! --
H2 { Font-size : 42px ; Font-family : }
--!>
</ Style >
< Title > HTML files using CSS </ Title >
</ Head >
< Body >
< H2 Align = "Left" > HTML files using CSS </ H2 >
< HR >
< P > This is an HTML file that uses CSS. </ P >
</ Body >
</ Html >

Their respective roles:
1. html
It is the main language used to design web pages on the Internet. No matter the webpage includes animations, multimedia, graphics, and other complex elements, the infrastructure is HTML.
HTML can be used to mark paragraphs, titles, tables, links, and other formats in a document on a page. However, as the network develops, user requirements increase, HTML cannot meet more and more document style requirements.
2. CSS
It is a new technology used to create web pages. "style" refers to the text size, color, image location, and other formats in the webpage. "cascade" means that when several style files (CSS files) are referenced in HTML, when the styles in the style files conflict, the browser will process them according to the cascade order.
CSS makes up for the shortcomings of HTML in Webpage formatting and plays a role in layout positioning.
HTML and CSS are used together to provide users with static information and lack of interactivity.
3. Javascript
The relationship between users and information is not only a relationship between browsing and display, but also a real-time, dynamic, and interactive page function.
It is used to develop Internet client applications. It can combine HTML and CSS to realize the function of interacting with Web customers on a web page.
It can directly respond to user or customer input without going through web service programs.

dedicated HTML development tools:
1. WYSIWYG tools: such as drumbeat and netobjectfusion
2. HTML Code editing tool: notepad, etc.
3. hybrid tools: Adobe, Dreamweaver, FrontPage, cutepage, etc.
Dreamweaver is one of the mainstream tools for creating web pages.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.