Define attributes with example. in cs
Answers
#HOPE THIS HELPS YOU#....
Before we delve into attributes in the computer programming sense of the word, let us first define the word 'attribute'. A simple explanation of the term is that an attribute describes something. In computer programming, there are elements, fields, files and other data types that can be manipulated or referenced by way of attributes.
In computer programming, there are elements, entities, fields and files that have specific characteristics. For example, in web programming there are elements that are assigned unique attributes. Computer programming attributes describe some characteristic of data whether it be a file, paragraph or field. Let's take a closer look at this.
The language used to render webpages, HTML (HyperText Markup Language), is comprised of various elements, such as paragraph, unordered list and image. These elements represent items that can be displayed on a web page.