+ 1
What does these attributes and tags mean in the code provided below? :-
What does these attributes and tags mean in the code provided below? :- (1) ! Doctype (2) href (3) <textarea> </textarea> (4) what does class means with div class and with input class <div class> Input type="submit" value="send" class="submit" https://code.sololearn.com/WHrjJIGtKW55/?ref=app
4 ответов
+ 3
radib r.
(1)
The <!DOCTYPE> declaration is not anHTML tag; it is an instruction to the web browser about what version ofHTML the page is written in. In HTML4.01, the <!DOCTYPE> declaration refers to a DTD, because HTML 4.01 was based on SGML. HTML5 is not based on SGML, and therefore does not require a reference to a DTD.
source:
https://www.w3schools.com/tags/tag_doctype.asp
(2)
HREF. (Hypertext REFerence) The HTML code used to create a link to another page. The HREF is an attribute of the anchor tag, which is also used to identify sections within a document.
source:
https://www.pcmag.com/encyclopedia/term/44472/href
(3)
The <textarea> tag defines a multi-line text input control. A text area can hold an unlimited number of characters, and the text renders in a fixed-width font (usually Courier). The size of a text area can be specified by the cols and rows attributes, or even better; through CSS' height and width properties.
source:
https://www.w3schools.com/tags/tag_textarea.asp
+ 2
radib r.
(4)
The HTML class attribute is used to define equal styles for elements with the same class name.
So, all HTML elements with the same class attribute will have the same format and style.
source:
https://www.w3schools.com/html/html_classes.asp
+ 2
radib r.
also remember that you can learn from sololearn:
(1)
https://www.sololearn.com/learn/HTML/2211/
(2)
https://www.sololearn.com/learn/HTML/1031/
(3)
https://www.sololearn.com/learn/HTML/2904/
(4)
https://www.sololearn.com/learn/HTML/1034/
+ 2
radib r.
finally, I hope I was helpful !