The HTML <input> tag is used within a form to declare an input element − a control that allows the user to input data. Three ATTRIBUTES are :
- form
- list
- readonly
Explanation:
- An input field can vary in many ways, depending on the type attribute.
- <input> elements are used within a <form> element to declare input controls that allow users to input data
- The <input> tag specifies an input field where the user can enter data. <input> elements are used within a <form> element to declare input controls that allow users to input data.
The 3 attributes are :
- <input form=""> : The value of this attribute must be the id attribute of a <form> element in the same document.
- <input list="datalist_id"> : Specifies the id of the datalist to bind the <input> element to a specific list.
- <input readonly> : The readonly attribute is a boolean attribute. When present, it specifies that an input field is read-only. The readonly attribute can be set to keep a user from changing the value until some other conditions have been met
Answer is in the screenshot
Answer: UTF-8 (Unicode transformation format) is a technique that is capable of producing any character in Unicode standard.
Explanation: UTF-8 is supporting technique that helps in changing any block of bits of any language.It is used for converting any code into the unicode characters.It was created because this coding technique that supports various languages and is also replacing the ASCII code. UTF-8 code is highly compatible with the ASCII codes and has better properties than it.
Answer:
This code is written in MATLAB.
function [result] = isPalindrome(array,length)
if length == 0 || length == 1 %if the array is empty or contains only one element, the array is a palindrome
result = 1;
else
for i = 1:length/2 %check all the elements forward and backward until the middle is reached
if array(i) ~= array(end+1-i)
result = 0;
return
end
end
result = 1;
end
Explanation: Please read the comments in the code. In MATLAB, Boolean values are 1 or 0 instead of True or False.