HTML and Web Design Flashcards
When ever you use Html.BeginForm(….. what must you alway remember to add?
@Html.AntiForgeryToken()
An AntiForgery validation attribute should also then be added to the post method
In CSS, how would you change the colour of the text below to blue using just the id from within the style sheet:
mySection {color: blue;}
In CSS, what would the following do:
.center { color: red;}
It would find any instance of class=”center” within the HTML and color it red
In CSS, if you have a class “table”, how could you specify in style sheet that all text is blue?
.table {text-color: blue;}
What does the following CSS do:
p.panel {background: yellow;}
It would look wihin any “panel” class, and then for every
it would colour the text blue:
What should you NOT start a class or id name with?
A number