Computer code element in HTML

Element to input data by keyboard

HTML element represent input data such as by keyboard or voice. Text around the card usually display the default on the browser as a single font.

Save the text by pressing Ctrl + S

Element to output output

Element represent data output such as software or computer systems. Text around the card usually display the default on the browser as a single font.

If the input value is entered incorrectly, the software will report an Error!

Element cho mã máy tính

Element định nghĩa các đoạn của mã máy tính. Văn bản xung quanh thẻ thường hiển thị mặc định trên trình duyệt dưới dạng font chữ đơn cách.

  
x = 5;
y = 6;
z = x + y;

 

Note the element không giữ lại các khoảng trắng hay xuống dòng. Để khắc phục, đặt phần tử bên trong phần tử

 : 
 


x = 5;
y = 6;
z = x + y;

Element for variables

Element used to define a variable. Variables can be variables in mathematical expressions or in programming languages.

 Einstein viết: E = mc 2 . 

 

Last lesson: Designing websites running on multiple devices (responsive web) in HTML

The following article: Entity in HTML

4 ★ | 2 Vote

May be interested

  • Style properties in HTMLStyle properties in HTML
    the style attribute specifies the style for the html element.
  • 17 simple HTML codes you can learn in 10 minutes17 simple HTML codes you can learn in 10 minutes
    although modern web pages are often built with user-friendly interfaces, it's good to know some basic html . if you know the following 17 tags, you can create a basic web page from scratch or tweak the code created by an application like wordpress.
  • Text in HTMLText in HTML
    the element in html is used to define a paragraph of text.
  • How to Build a Calculator with HTMLHow to Build a Calculator with HTML
    in addition to countless pre-built calculators, you can also do math on your desktop computer by using html code to build your own. to create a calculator from html, you need to learn some basic knowledge about this programming language, then copy the necessary code into a text editor and save it as html. at this point, you can open the html document in your favorite browser and start using your computer. just like that, you can not only do math in the browser but also learn a few basics about the art of programming!
  • Basic examples of HTMLBasic examples of HTML
    in the previous html lesson, you know which tools to use to write html code, how to save and open html files. this article will give some basic examples of html text.
  • The id attribute in HTMLThe id attribute in HTML
    in html, the id attribute is used to specify a unique id for an html element (the value must be unique in the html file).
  • 5 free online HTML editing tools that test the best code5 free online HTML editing tools that test the best code
    if you ask someone how to become web developers, they will tell you about javascript, python, web programming, etc. and of course html.
  • Block and inline elements in HTMLBlock and inline elements in HTML
    each element in html has a default display value, depending on which element it is.
  • SVG element in HTML5SVG element in HTML5
    svg is used to draw 2d graphics and graphics applications on the website, mostly useful for vector style diagrams. so what content does svg have, how it is used, what is its difference and what is canvas?
  • Manipulate the DOM in jQueryManipulate the DOM in jQuery
    jquery provides methods to manipulate the dom in an extremely efficient way. you do not need to write code that is too long to modify the attribute value of any element or to extract html code from a p or div tag.