In order to create a control, we should start from delivering a HTML code, which the control will be based on. We can generate the code in many ways as object-oriented or convey a ready-made HTML code in a constructor thanks to an embedded parser. In case of bigger controls, we can upload a view or a resource file.
A HTML code can be generated as object-oriented.
A HTML code can be conveyed as a string of characters.
We can download the HTML code from the view or the resource file.