Greife auf kostenlose Karteikarten, Zusammenfassungen, Übungsaufgaben und Altklausuren für deinen Webdevelopment HTML Kurs an der TU Berlin zu.
How can you use radio buttons exactly?
you should define for every radio button the same name but a different value that will be send if that radio button is enabled and ists also good pracitice and better visible what each radio button means if they havbe a label like so :
<form>
<label for= "IDOFBhutan"> Bhutan glory </label>
<input type= "radio" name="favoritebutterfly" id ="IDOFBhutan" value ="Bhutanglory"> <br>
<label for= "IDOFKaiser-i-hind "> Kaiser-i-hind </label>
<input type= "radio" name="favoritebutterfly" id ="IDOFKaiser-i-hind " value ="Kaiserihind "> <br>
How can you exactly set specific properties only when a certain pixelwidth is present?
For that you would use media queries for example if you wanted certain css rules only to apply when the width of the screen is below 600 px:
@media only screen and (max-width:620px){
css.selectors{
css-property: property-value;
...;
}
}
What two properties can you to set to specify what will displayed before a listitem? and give me some examples for their values.
You could set the list-style-type or the list-style-image property like so
list-style-image:url('mypicture.png');
or list-style-type:
;
What are five different semantical Block elemnts that can be used instead of div and what do they describe?
What are the properties for the size, the color, the font-family and the horizont-alignment of a text?
font-size, color, font-family, text-align
What is the one special property that outline has but border hasnt and what can you use it for?
outline-offset basically makes a transparent outline up to a certain point and then only starts the real outline.
What is the scheme to implement an IFrame and how can you exactly make it happen so that a link opens in the iframe?
With an iframe it is possible to open a webpage inside a container of the webpage like so e.g.:
<iframe src="somelink.de" style="border: 1px solid black; width:90%; height: 20%;" name= "iframe1">
<a href="this is another link" target="iframe1">
What should you do to ensure many diferrent device sizes get different Zoom levels?
you could change teh meta view port liek so:
<meta name="viewport" content="width=device-width, initial-scale=1.0">
What are two nonsemantical html-elements typically used for styling?
div for styling a block-type element and span for inline-type element.
What does the percentage mean in width and height and why is it better to use those than fixed values.
The percentage is according to the parent. Its better because it doesnt overflow over the parent element when the screen get smaller.
How exactly can you make an list be ordered by roman numbers? And what othe options do you have?
You would use the type attribute in the ol tag like so
<ol type= "I">
<li>bla</li>
</ol>
Other options are:
a for letters
A for uppercase letter
1 for numbers
i for lowercase roman numbers
Which are the properties to specify the distance from the content to its containing box, the distance to other boxes and what is the schema?
Padding is used for the distance from a content to its containing box <style> p {padding: 5px;} </style>
margin is the distance to neighboring boxes <style> p {margin: 5px;} </style>
Greife kostenlos auf tausende geteilte Karteikarten, Zusammenfassungen, Altklausuren und mehr zu.
Jetzt loslegenFür deinen Studiengang Webdevelopment HTML an der TU Berlin gibt es bereits viele Kurse, die von deinen Kommilitonen auf StudySmarter erstellt wurden. Karteikarten, Zusammenfassungen, Altklausuren, Übungsaufgaben und mehr warten auf dich!