Giới thiệu
hocvietcode.com là website chia sẻ và cập nhật tin tức công nghệ, chia sẻ kiến thức, kỹ năng. Chúng tôi rất cảm ơn và mong muốn nhận được nhiều phản hồi để có thể phục vụ quý bạn đọc tốt hơn !
Liên hệ quảng cáo: trienkhaiweb@gmail.com
In this tutorial we will learn how to draw a line in Canvas. 1. Draw Lines in Canvas A straight line will have the following properties: Start position, end position. Width of the line. Color of the line Format the two ends of the line. Draw a straight line: To draw a line we have […]
In addition to drawing straight lines, Canvas can also draw curves such as arcs, quadratic curves, and Benzier curves. For how to draw a straight line, we only need to determine the beginning and end points, but with curves, there are quite a few problems to calculate before drawing it. 1. Draw an arc in […]
We have already learned how to draw some lines in Canvas, so in this article I will show you how to connect those lines together to create much more vivid drawings. 1. Connect multiple lines together in Canvas As we know in Canvas we use beginPath() function to declare the start of drawing a new […]
In this article we will learn the title tag in HTML, this is the tag used to declare the description for the title of the web page. The title tag is required in all HTML documents, it indicates the title of that HTML document, through which users and search engines can understand the meaning of […]
In this article we will learn the HTML base tag, which is a URL declaration tag for a web page through which the browser will automatically append incomplete URLs. 1. What is the base tag in HTML? The base tag sets the base URL for all related URLs in the HTML document. In an HTML […]
In this article we will learn how to use the link tag in HTML, this is a very important tag, used to add CSS files mainly. 1. What is the link tag in HTML? The link tag defines a link between an HTML document and an external document, usually CSS files or image files. This […]
Browser support : Chrome Firefox IE Safari Opera Browser support : Chrome Firefox IE Safari Opera Browser support : Chrome Firefox IE Safari Opera Browser support : Chrome Firefox IE Safari Opera In this article, we will learn the meta tag in HTML, this is a tag used to declare parameters, description, and configuration for […]
In this article we will learn the script tag in HTML, this is the tag used to declare Javascript code for the web page. 1. What is a script tag? The script tag defines the Javascript code within it. The script can contain Javascript statements or link to an external Javascript file. If the html […]
In this article, I will show you how to use the noscript tag in HTML, this is a very useful tag in case the browser does not support javascript. 1. What is a noscript tag? We have already learned the script tag, right? It is used to declare where the javascript code is stored for […]
In this article we will learn how to use the input tag in HTML, this is a tag used to get data that the user enters. The input tag has the function of creating a field for the user to enter input data. The input tag is used together with the form tag to declare […]
In this article we will learn the textarea tag in HTML, this is a tag used to get data from user input in multiline format. Textarea is quite familiar to those of you doing frontend, it is used quite a lot in data entry forms. Although you can use the input tag instead, there are […]
In this article, I will show you how to use the button tag in HTML, this is a very important tag in the html form structure. The button tag creates a button, it doesn't create a form submit action like the input tag does. Therefore, we often use it in combination with Javascript to create […]
In this article, I will show you how to use the option tag in HTML, this is the tag that comes with the select tag to create options in the list. The option tag creates an option in the list of options of the <select> tag. Use the <option> tag inside a <select> or <datalist> […]
In this lesson we will learn how to use the fieldset tag in HTML, the fieldset will group related elements in a form. Grouping such information will help users easily identify what to enter. Specifically, the fieldset tag will create a frame around the elements within it 1. What is the fieldset tag in HTML? […]
In this article, I will show you how to use the label tag in HTML, this is a tag used to create labels for objects in the form. 1. What is the label tag? The label tag in html has the effect of setting a label to describe the input tag. In essence, the label […]
In this article, we will learn the form tag in HTML, this is a tag used to surround input fields, helping people through input operations, send data to the server. Most websites have the features of registration, login, contact, order, cart payment … all of these functions must use the form tag. 1. What is […]
In this article, I will show you how to use the UL tag in HTML, this is a tag used to create a list, by combining with the li tag to create child elements. The ul tag defines an unordered list. Use a combination of the ul tag with the li tag to create an […]
In this lesson freetuts will show you how to use the ol tag in HTML, which is a list tag with number format. The ol tag will define an ordered list, which will be numbered or alphabetical. Use the li tag to identify the items in the list. How to use ol tag in HTML […]
In this article we will learn the li tag in HTML, this is the tag inside the ol or ul tag, used to create the elements for the list. 1. What is the li tag in HTML used for? The li tag defines an item in the list. It is a child tag, inside two […]
The dl tag functions to describe a list of definitions. Use in combination with the dd tag (describe the definition content) and the dt tag (describe the name of the definition). How to use dl . card For example , use the dl tag in combination with the dd tag and the dt tag to […]
hocvietcode.com là website chia sẻ và cập nhật tin tức công nghệ, chia sẻ kiến thức, kỹ năng. Chúng tôi rất cảm ơn và mong muốn nhận được nhiều phản hồi để có thể phục vụ quý bạn đọc tốt hơn !
Liên hệ quảng cáo: trienkhaiweb@gmail.com