Java: Java Programming For Beginners a simple Start To Java Programming (Written By a software Engineer)


Download 0.82 Mb.
Pdf ko'rish
bet77/95
Sana09.01.2022
Hajmi0.82 Mb.
#261112
1   ...   73   74   75   76   77   78   79   80   ...   95
Bog'liq
Java Programming For Beginners - A Simple Start to Java Programming ( PDFDrive )

This is my world!

In this example, the div elements includes everything from
to
. therefore, the
tag is also a part of the div element.
It  is  important  to  state  here  that  HTML5  is  not  case  sensitive.  Therefore,  regardless  of
whether you write or for the bold tag, the browser will consider the two same.
However, the use of lower case for tags is recommended by the W3C standards.
Working with Elements in HTML5
HTML5  defines  more  than  a  100  elements.  These  elements,  with  their  definitions  are
provided in Appendix.
How to add attributes to elements?
Additional data can be added to the begin tag in the form of attributes. An attribute can be
generally  represented  as,  name=”value”.  The  value  for  the  attribute  name  is  enclosed
within quotes. There is no restriction on the number of attributes that can be added to the
begin tag. For these attributes, the attribute has a name, but it does not have a value.
Example:
Here,  id  and  class  are  attributes  where  id  uniquely  identifies  the  element  and  class
specifies the CSS style to which this div belongs.

Download 0.82 Mb.

Do'stlaringiz bilan baham:
1   ...   73   74   75   76   77   78   79   80   ...   95




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling